GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig.fromJson(core.Map json_)
    : this(
        forceUpgradeOnSignin: json_.containsKey('forceUpgradeOnSignin')
            ? json_['forceUpgradeOnSignin'] as core.bool
            : null,
        lastUpdateTime: json_.containsKey('lastUpdateTime')
            ? json_['lastUpdateTime'] as core.String
            : null,
        passwordPolicyEnforcementState:
            json_.containsKey('passwordPolicyEnforcementState')
                ? json_['passwordPolicyEnforcementState'] as core.String
                : null,
        passwordPolicyVersions: json_.containsKey('passwordPolicyVersions')
            ? (json_['passwordPolicyVersions'] as core.List)
                .map((value) =>
                    GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );