GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse.fromJson constructor

GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse.fromJson(
    core.Map json_)
    : this(
        phoneSessionInfo: json_.containsKey('phoneSessionInfo')
            ? GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo.fromJson(
                json_['phoneSessionInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        totpSessionInfo: json_.containsKey('totpSessionInfo')
            ? GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo
                .fromJson(json_['totpSessionInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );