TransactionInput class

Annotations
  • @freezed

Constructors

TransactionInput({int? amount, String? from, String? tokenAddress, bool? spent, int? timestamp, String? type, int? tokenId})
const
factory
TransactionInput.fromJson(Map<String, dynamic> json)
factory

Properties

amount int?
Amount: asset amount
no setterinherited
copyWith → $TransactionInputCopyWith<TransactionInput>
Create a copy of TransactionInput with the given fields replaced by the non-null parameter values.
no setterinherited
from String?
From: transaction which send the amount of assets
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
spent bool?
Spent: determines if the input has been spent
no setterinherited
timestamp int?
Timestamp: Date time when the inputs was generated
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/Call
no setterinherited

Methods

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

Operators

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