MoveUtils class

Constructors

MoveUtils.new()

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 Methods

parseAddressBytes({Object? value}) List<int>
Parses a value into address bytes from a hex string or List<int>.
parseBoolean({Object? value}) bool
Parses a value into a boolean, supporting bool, 0/1, and 'true'/'false' strings.
parseBytes({Object? value}) List<int>
Parses a value into a byte list from a hex string or List<int>.
parseString({Object? value}) String
Parses a value into a string, validating it's of String type.
parseU128({Object? value}) BigInt
Parses a value into an unsigned 128-bit integer (0–2^128−1).
parseU16({Object? value}) int
Parses a value into an unsigned 16-bit integer (0–65,535).
parseU256({Object? value}) BigInt
Parses a value into an unsigned 256-bit integer (0–2^256−1).
parseU32({Object? value}) int
Parses a value into an unsigned 32-bit integer (0–4,294,967,295).
parseU64({Object? value}) BigInt
Parses a value into an unsigned 64-bit integer (0–2^64−1).
parseU8({Object? value}) int
Parses a value into an unsigned 8-bit integer (0–255).