Transaction constructor
const
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,
Implementation
const factory Transaction({
required final TransactionId id,
final TransactionId? prevTransactionId,
@dateSecondsSinceEpochJsonConverter required final DateTime createdAt,
required final bool aborted,
@JsonKey(includeIfNull: false) final int? exitCode,
@JsonKey(includeIfNull: false) final int? resultCode,
required final AccountStatus origStatus,
required final AccountStatus endStatus,
@amountJsonConverter required final BigInt totalFees,
required final Message inMessage,
required final List<Message> outMessages,
required String? boc,
}) = _Transaction;