UnspentOutputs class
SPDX-License-Identifier: AGPL-3.0-or-later
UnspentOutput
represents the remaining unspent output of the transaction.
Constructors
- UnspentOutputs({int? amount, String? tokenAddress, String? type, String? from, int? tokenId})
-
UnspentOutputs.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount ↔ int?
-
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenAddress ↔ String?
-
Token address: address of the token if the type is token
getter/setter pair
- tokenId ↔ int?
-
Token id: It is the id for a token which is allocated when the token is minted.
getter/setter pair
- type ↔ String?
-
Type: UCO/Token
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