Password class

Inheritance

Constructors

Password(String? str)
Returns a valid Password object.
factory
Password.fromJson(Map<String, dynamic> map, {String? key})
One of the following ValueException maybe thrown:
factory
Password.fromValueObject(ValueObject vo)
One of the following ValueException maybe thrown:
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({String? key}) Map<String, String>
toString() String
Returns the object's valid value as a String
inherited

Operators

operator ==(Object o) bool
The equality operator.
inherited

Static Properties

key String
Default value: password
getter/setter pair
maxChar int
getter/setter pair
minChar int
getter/setter pair
mustContainLowerChar bool
getter/setter pair
mustContainNumeric bool
getter/setter pair
mustContainSpecialChar bool
getter/setter pair
mustContainUpperChar bool
getter/setter pair

Static Methods

setRequirements({int minChar = 6, int maxChar = 255, bool mustContainLowerChar = true, bool mustContainUpperChar = true, bool mustContainNumeric = true, bool mustContainSpecialChar = false}) → void