$V2CustomStrengthOptions.fromJson constructor
$V2CustomStrengthOptions.fromJson(
- Map json_
Implementation
$V2CustomStrengthOptions.fromJson(core.Map json_)
: this(
containsLowercaseCharacter:
json_.containsKey('containsLowercaseCharacter')
? json_['containsLowercaseCharacter'] as core.bool
: null,
containsNonAlphanumericCharacter:
json_.containsKey('containsNonAlphanumericCharacter')
? json_['containsNonAlphanumericCharacter'] as core.bool
: null,
containsNumericCharacter:
json_.containsKey('containsNumericCharacter')
? json_['containsNumericCharacter'] as core.bool
: null,
containsUppercaseCharacter:
json_.containsKey('containsUppercaseCharacter')
? json_['containsUppercaseCharacter'] as core.bool
: null,
maxPasswordLength: json_.containsKey('maxPasswordLength')
? json_['maxPasswordLength'] as core.int
: null,
minPasswordLength: json_.containsKey('minPasswordLength')
? json_['minPasswordLength'] as core.int
: null,
);