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,
      );