Transaction class sealed

Implemented types
Annotations
  • @freezed

Constructors

Transaction({required TransactionId id, TransactionId? prevTransactionId, @dateSecondsSinceEpochJsonConverter required DateTime createdAt, required bool aborted, @JsonKey(includeIfNull: false) int? exitCode, @JsonKey(includeIfNull: false) int? resultCode, required AccountStatus origStatus, required AccountStatus endStatus, @amountJsonConverter required BigInt totalFees, required Message inMessage, required List<Message> outMessages, required String? boc})
const
factory
Transaction.fromJson(Map<String, dynamic> json)
factory

Properties

aborted bool
no setterinherited
boc String?
no setterinherited
copyWith → $TransactionCopyWith<Transaction>
Create a copy of Transaction with the given fields replaced by the non-null parameter values.
no setterinherited
createdAt DateTime
no setterinherited
endStatus AccountStatus
no setterinherited
exitCode int?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id TransactionId
no setterinherited
inMessage Message
no setterinherited
origStatus AccountStatus
no setterinherited
outMessages List<Message>
no setterinherited
prevTransactionId TransactionId?
no setterinherited
resultCode int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalFees BigInt
no setterinherited

Methods

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

Operators

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