GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest.fromJson constructor

GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest.fromJson(core.Map _json)
    : this(
        mfaPendingCredential: _json.containsKey('mfaPendingCredential')
            ? _json['mfaPendingCredential'] 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,
      );