FirebaseAppInfo.fromJson constructor

FirebaseAppInfo.fromJson(
  1. Map _json
)

Implementation

FirebaseAppInfo.fromJson(core.Map _json)
    : this(
        appId:
            _json.containsKey('appId') ? _json['appId'] as core.String : null,
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        namespace: _json.containsKey('namespace')
            ? _json['namespace'] as core.String
            : null,
        platform: _json.containsKey('platform')
            ? _json['platform'] as core.String
            : null,
      );