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,
      );