Alphabet class abstract
A collection of useful alphabets that can be used to generate ids.
Constructors
- Alphabet()
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
Constants
- alphanumeric → const String
-
Combination of all the lowercase, uppercase characters and numbers from 0 to 9.
a-zA-Z0-9
(62 chars) Does not include any symbols or special characters. - base64 → const String
-
Base64 characters
a-zA-Z0-9+/
(64 chars) - hexadecimalLowercase → const String
-
English hexadecimal with lowercase characters.
0-9a-f
(16 chars) - hexadecimalUppercase → const String
-
English hexadecimal with uppercase characters.
0-9A-F
(16 chars) - lowercase → const String
-
Lowercase English letters.
a-z
(26 chars) - noDoppelganger → const String
- Numbers and english letters without lookalikes: 1, l, I, 0, O, o, u, v, 5, S, s, 2, Z. (49 chars)
- noDoppelgangerSafe → const String
- Same as noDoppelganger but with removed vowels (only consonants) and following letters: 3, 4, x, X, V. (36 chars) This list should protect you from accidentally getting obscene words in generated strings.
- numbers → const String
-
Numbers from 0 to 9.
0-9
(10 chars) - uppercase → const String
-
Uppercase English letters.
A-Z
(26 chars) - url → const String
-
URL friendly characters used by the default generate procedure.
a-zA-Z0-9_-
(64 chars)