GoogleFirebaseInstallationsV1Installation.fromJson constructor

GoogleFirebaseInstallationsV1Installation.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseInstallationsV1Installation.fromJson(core.Map _json)
    : this(
        appId:
            _json.containsKey('appId') ? _json['appId'] as core.String : null,
        authToken: _json.containsKey('authToken')
            ? GoogleFirebaseInstallationsV1AuthTokenInfo.fromJson(
                _json['authToken'] as core.Map<core.String, core.dynamic>)
            : null,
        authVersion: _json.containsKey('authVersion')
            ? _json['authVersion'] as core.String
            : null,
        fid: _json.containsKey('fid') ? _json['fid'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        refreshToken: _json.containsKey('refreshToken')
            ? _json['refreshToken'] as core.String
            : null,
        sdkVersion: _json.containsKey('sdkVersion')
            ? _json['sdkVersion'] as core.String
            : null,
        verificationKey: _json.containsKey('verificationKey')
            ? _json['verificationKey'] as core.String
            : null,
      );