GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest.fromJson constructor

GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest.fromJson(
    core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        idToken: _json.containsKey('idToken')
            ? _json['idToken'] as core.String
            : null,
        phoneVerificationInfo: _json.containsKey('phoneVerificationInfo')
            ? GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo
                .fromJson(_json['phoneVerificationInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        tenantId: _json.containsKey('tenantId')
            ? _json['tenantId'] as core.String
            : null,
      );