GenerationCodeHelper class

Constructors

GenerationCodeHelper()

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 Properties

lstLowerLetter ↔ List<String>
getter/setter pair
lstNumber ↔ List<String>
getter/setter pair
lstSpecialCode ↔ List<String>
getter/setter pair
lstUpperLetter ↔ List<String>
getter/setter pair
lstValidateCodeLowerLetter ↔ List<String>
getter/setter pair
lstValidateCodeNumber ↔ List<String>
getter/setter pair
lstValidateCodeUpperLetter ↔ List<String>
getter/setter pair

Static Methods

generationCode(int length, {bool containNum = true, bool containLetter = true, bool containSpecial = false}) → String
按长度生成对应的字符串 length 生成的字符串长度 containNum 是否包含数字 containLetter 是否包含字符 containSpecial 是否包含特殊字符
generationLimpidCode(int length, {bool containNum = true, bool containLetter = true, bool containSpecial = false}) → String
按长度生成对应的字符串,不包含 0 o 1 I 等容易混淆的之母和数字 length 生成的字符串长度 containNum 是否包含数字 containLetter 是否包含字符 containSpecial 是否包含特殊字符