GsplItem class

Constructors

GsplItem({String? path, int? amount, BigInt? amountBigInt, Uint8List? signature, String? address, int? signHashType})
Pass either amount (int) or amountBigInt, not both.

Properties

address → String?
final
amount → int?
Amount as int. Throws StateError when the amount does not fit in an int rather than silently truncating it; use amountBigInt instead.
no setter
amountBigInt → BigInt?
Exact amount in the chain's smallest unit. Use this for chains whose amounts can exceed int64 (e.g. ALPH in attoALPH).
final
hashCode → int
The hash code for this object.
no setterinherited
path → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → Uint8List?
final
signHashType → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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