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