GoogleCloudIdentitytoolkitV2PasswordPolicy.fromJson constructor

GoogleCloudIdentitytoolkitV2PasswordPolicy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV2PasswordPolicy.fromJson(core.Map json_)
    : this(
        allowedNonAlphanumericCharacters:
            json_.containsKey('allowedNonAlphanumericCharacters')
                ? (json_['allowedNonAlphanumericCharacters'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        customStrengthOptions: json_.containsKey('customStrengthOptions')
            ? GoogleCloudIdentitytoolkitV2CustomStrengthOptions.fromJson(
                json_['customStrengthOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        enforcementState: json_.containsKey('enforcementState')
            ? json_['enforcementState'] as core.String
            : null,
        forceUpgradeOnSignin: json_.containsKey('forceUpgradeOnSignin')
            ? json_['forceUpgradeOnSignin'] as core.bool
            : null,
        schemaVersion: json_.containsKey('schemaVersion')
            ? json_['schemaVersion'] as core.int
            : null,
      );