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