GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest.fromJson constructor

GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest.fromJson(core.Map _json)
    : this(
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        phoneEnrollmentInfo: _json.containsKey('phoneEnrollmentInfo')
            ? GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo.fromJson(
                _json['phoneEnrollmentInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        tenantId: _json.containsKey('tenantId')
            ? _json['tenantId'] as core.String
            : null,
      );