GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.fromJson constructor

GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1SendVerificationCodeRequest.fromJson(
    core.Map _json)
    : this(
        autoRetrievalInfo: _json.containsKey('autoRetrievalInfo')
            ? GoogleCloudIdentitytoolkitV1AutoRetrievalInfo.fromJson(
                _json['autoRetrievalInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        iosReceipt: _json.containsKey('iosReceipt')
            ? _json['iosReceipt'] as core.String
            : null,
        iosSecret: _json.containsKey('iosSecret')
            ? _json['iosSecret'] as core.String
            : null,
        phoneNumber: _json.containsKey('phoneNumber')
            ? _json['phoneNumber'] as core.String
            : null,
        recaptchaToken: _json.containsKey('recaptchaToken')
            ? _json['recaptchaToken'] as core.String
            : null,
        safetyNetToken: _json.containsKey('safetyNetToken')
            ? _json['safetyNetToken'] as core.String
            : null,
        tenantId: _json.containsKey('tenantId')
            ? _json['tenantId'] as core.String
            : null,
      );