EthereumData class

The Ethereum data type. This is not as constrained as the address type.

Constructors

EthereumData.fromBigInt(BigInt val)
From a BigInt.
EthereumData.fromString(String val)
From a string, must be a valid Ethereum data string, i.e have a leading 0x

Properties

asBigInt → BigInt?
Get as a BigInt
no setter
asString → String?
Get as a String, includes the 0x prefix
no setter
hashCode → int
The hash code for this object.
no setteroverride
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.
override

Operators

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

Static Methods

toList(List<String> val) → List<EthereumData>
Data string list to EthereumAddress list
toStringList(List<EthereumData> val) → List<String?>
EthereumData list to string list