Security class
Security class.
Constructors
- Security()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generatePassword(
bool isNumberActive, bool isSpecialCharacherActive, bool isUpperCaseActive, bool isLowerCaseActive, int length) → String? -
- Info: Generate password.
- Params:
isNumberActive
determines access code will include number 0-9 or not,isSpecialCharacherActive
enables / disables special character,isUpperCaseActive
enables / disables uppercase letters,isLowerCaseActive
enables / disables lowercase letters,length
is access code length.- Returns: String?
- Notes:
-
generatePasswordwithPrefix(
String password, String prefix, String prefixDelimiter) → String? -
- Info: Generate password with prefix. return password like "XXXXy'generatedpassword'". XXXX is prefix, y is delimiter.
- Params:
password
is password,prefix
is prefix,prefixDelimiter
is delimiter for prefix;- Returns: String?
- Notes: