GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.fromJson constructor

GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.fromJson(
    core.Map _json)
    : this(
        appCheckToken: _json.containsKey('appCheckToken')
            ? GoogleFirebaseAppcheckV1betaAppCheckToken.fromJson(
                _json['appCheckToken'] as core.Map<core.String, core.dynamic>)
            : null,
        artifact: _json.containsKey('artifact')
            ? _json['artifact'] as core.String
            : null,
        attestationToken: _json.containsKey('attestationToken')
            ? GoogleFirebaseAppcheckV1betaAttestationTokenResponse.fromJson(
                _json['attestationToken']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );