RandomUtils class

Constructors

RandomUtils()

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

boolean() → bool
Generate random boolean.
colorHex() → String
Generate random color hex.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
numeric(int max) → int
Generate random int.
numericBetween(int min, int max) → int
Generate random numeric, between min and max.
specialCharacters(int length) → String
Generate random string by special characters.
string(String chars, int length) → String
Generate random string from specific characters and length.
stringAlpha(int length) → String
Generate random string by alpha only.
stringAlphaLowercase(int length) → String
Generate random string by alpha lowercase only.
stringAlphaNumeric(int length) → String
Generate random string by alphanumeric.
stringAlphaUppercase(int length) → String
Generate random string by alpha uppercase only.
stringNumeric(int length) → String
Generate random string by numeric.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited