TokenTransfer class
- Annotations
Constructors
- TokenTransfer({required TxType direction, @JsonKey(name: 'block_number') required num blockNumber, @JsonKey(name: 'block_timestamp') required DateTime blockTimestamp, @JsonKey(name: 'contract_address') required String contractAddress, @JsonKey(name: 'from_address') required String fromAddress, @JsonKey(name: 'log_index') required num logIndex, @JsonKey(name: 'to_address') required String toAddress, @JsonKey(name: 'transaction_hash') required String transactionHash, @JsonKey(name: 'transaction_index') required num transactionIndex, @JsonKey(name: 'tx_fee') required num txFee, @JsonKey(name: 'tx_type') required num txType, @BigIntConverter() required Uint256 value})
-
constfactory
-
TokenTransfer.fromJson(Map<
String, dynamic> json) -
factory
Properties
- blockNumber → num
-
read-onlyinherited
- blockTimestamp → DateTime
-
read-onlyinherited
- contractAddress → String
-
read-onlyinherited
-
copyWith
→ $TokenTransferCopyWith<
TokenTransfer> -
read-onlyinherited
- direction → TxType
-
read-onlyinherited
- fromAddress → String
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- logIndex → num
-
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- toAddress → String
-
read-onlyinherited
- transactionHash → String
-
read-onlyinherited
- transactionIndex → num
-
read-onlyinherited
- txFee → num
-
read-onlyinherited
- txType → num
-
read-onlyinherited
- value → Uint256
-
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited