HexString class
We use this class for strings that represent hex values (addresses) so we can deal with the 0x prefix properly.
Constructors
- HexString.fromBytes(Uint8List l)
-
factory
- HexString.fromRegularString(String s)
-
factory
- HexString.fromString(String s)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noPrefix(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
substring(
int start, [int? end]) → HexString -
toBytes(
) → Uint8List -
toRegularString(
) → String -
toString(
) → String -
A string representation of this object.
override
-
withPrefix(
) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override