PasswordValidationPolicy.fromJson constructor
PasswordValidationPolicy.fromJson(
- Map json_
Implementation
PasswordValidationPolicy.fromJson(core.Map json_)
: this(
complexity: json_.containsKey('complexity')
? json_['complexity'] as core.String
: null,
disallowCompromisedCredentials:
json_.containsKey('disallowCompromisedCredentials')
? json_['disallowCompromisedCredentials'] as core.bool
: null,
disallowUsernameSubstring:
json_.containsKey('disallowUsernameSubstring')
? json_['disallowUsernameSubstring'] as core.bool
: null,
enablePasswordPolicy: json_.containsKey('enablePasswordPolicy')
? json_['enablePasswordPolicy'] as core.bool
: null,
minLength: json_.containsKey('minLength')
? json_['minLength'] as core.int
: null,
passwordChangeInterval: json_.containsKey('passwordChangeInterval')
? json_['passwordChangeInterval'] as core.String
: null,
reuseInterval: json_.containsKey('reuseInterval')
? json_['reuseInterval'] as core.int
: null,
);