UserPasswordValidationPolicy.fromJson constructor
UserPasswordValidationPolicy.fromJson(
- Map json_
Implementation
UserPasswordValidationPolicy.fromJson(core.Map json_)
: this(
allowedFailedAttempts: json_.containsKey('allowedFailedAttempts')
? json_['allowedFailedAttempts'] as core.int
: null,
enableFailedAttemptsCheck:
json_.containsKey('enableFailedAttemptsCheck')
? json_['enableFailedAttemptsCheck'] as core.bool
: null,
enablePasswordVerification:
json_.containsKey('enablePasswordVerification')
? json_['enablePasswordVerification'] as core.bool
: null,
passwordExpirationDuration:
json_.containsKey('passwordExpirationDuration')
? json_['passwordExpirationDuration'] as core.String
: null,
status: json_.containsKey('status')
? PasswordStatus.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
);