TransactionInput class
TransactionInput represents the inputs from the transaction.
Constructors
- TransactionInput({double? amount, String? from, String? nftAddress, bool? spent, int? timestamp, String? type})
-
TransactionInput.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount ↔ double?
-
Amount: asset amount
getter/setter pair
- from ↔ String?
-
From: transaction which send the amount of assets
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nftAddress ↔ String?
-
NFT address: address of the NFT if the type is NFT
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spent ↔ bool?
-
Spent: determines if the input has been spent
getter/setter pair
- timestamp ↔ int?
-
Timestamp: Date time when the inputs was generated
getter/setter pair
- type ↔ String?
-
Type: UCO/NFT/Call
getter/setter pair
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