IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.fromJson constructor

IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.fromJson(
  1. Map json_
)

Implementation

IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.fromJson(core.Map json_)
    : this(
        expiresIn: json_.containsKey('expiresIn')
            ? json_['expiresIn'] as core.String
            : null,
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        isNewUser: json_.containsKey('isNewUser')
            ? json_['isNewUser'] as core.bool
            : null,
        localId: json_.containsKey('localId')
            ? json_['localId'] as core.String
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
        refreshToken: json_.containsKey('refreshToken')
            ? json_['refreshToken'] as core.String
            : null,
        temporaryProof: json_.containsKey('temporaryProof')
            ? json_['temporaryProof'] as core.String
            : null,
        temporaryProofExpiresIn: json_.containsKey('temporaryProofExpiresIn')
            ? json_['temporaryProofExpiresIn'] as core.String
            : null,
        verificationProof: json_.containsKey('verificationProof')
            ? json_['verificationProof'] as core.String
            : null,
        verificationProofExpiresIn:
            json_.containsKey('verificationProofExpiresIn')
                ? json_['verificationProofExpiresIn'] as core.String
                : null,
      );