Util class
Constructors
- Util()
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
-
defaultAvatarColors
→ List<
Color> -
no setter
Static Methods
-
colorToHex(
Color color) → String -
colorToRGBA(
Color color) → String -
generateAvatarColors(
String? address) → List< Color> -
getChainsFromNamespace(
Map< String, RequiredNamespace> ns) → Set<String> -
getEventsFromNamespace(
Map< String, RequiredNamespace> ns) → Set<String> -
getMethodsFromNamespace(
Map< String, RequiredNamespace> ns) → Set<String> -
shorten(
String value, {bool short = false}) → String -
truncate(
String value, {int length = 4}) → String