GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig.fromJson(
    core.Map json_)
    : this(
        enabledProviders: json_.containsKey('enabledProviders')
            ? (json_['enabledProviders'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        providerConfigs: json_.containsKey('providerConfigs')
            ? (json_['providerConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudIdentitytoolkitAdminV2ProviderConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );