GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.fromJson constructor

GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.fromJson(core.Map _json)
    : this(
        autoRetrievalInfo: _json.containsKey('autoRetrievalInfo')
            ? GoogleCloudIdentitytoolkitV2AutoRetrievalInfo.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,
      );