GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.fromJson constructor

GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse.fromJson(
    core.Map json_)
    : this(
        idToken: json_.containsKey('idToken')
            ? json_['idToken'] as core.String
            : null,
        phoneAuthInfo: json_.containsKey('phoneAuthInfo')
            ? GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo
                .fromJson(json_['phoneAuthInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
        refreshToken: json_.containsKey('refreshToken')
            ? json_['refreshToken'] as core.String
            : null,
        totpAuthInfo: json_.containsKey('totpAuthInfo')
            ? GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo
                .fromJson(json_['totpAuthInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );