TransactionMovement class

Annotations
  • @freezed

Constructors

TransactionMovement({int? amount, String? tokenAddress, String? to, String? type, int? tokenId})
const
factory
TransactionMovement.fromJson(Map<String, dynamic> json)
factory

Properties

amount int?
Amount: asset amount
no setterinherited
copyWith → $TransactionMovementCopyWith<TransactionMovement>
Create a copy of TransactionMovement with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to String?
To: asset transfer recipient
no setterinherited
tokenAddress String?
Token address: address of the token if the type is token
no setterinherited
tokenId int?
Token id: It is the id for a token which is allocated when the token is minted.
no setterinherited
type String?
Type: UCO/Token
no setterinherited

Methods

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

Operators

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