IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.fromJson constructor

IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.fromJson(
  1. Map _json
)

Implementation

IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.fromJson(core.Map _json)
    : this(
        code: _json.containsKey('code') ? _json['code'] as core.String : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        operation: _json.containsKey('operation')
            ? _json['operation'] as core.String
            : null,
        phoneNumber: _json.containsKey('phoneNumber')
            ? _json['phoneNumber'] as core.String
            : null,
        sessionInfo: _json.containsKey('sessionInfo')
            ? _json['sessionInfo'] as core.String
            : null,
        temporaryProof: _json.containsKey('temporaryProof')
            ? _json['temporaryProof'] as core.String
            : null,
        verificationProof: _json.containsKey('verificationProof')
            ? _json['verificationProof'] as core.String
            : null,
      );