Transaction constructor

const Transaction({
  1. required TransactionId id,
  2. TransactionId? prevTransactionId,
  3. @dateSecondsSinceEpochJsonConverter required DateTime createdAt,
  4. required bool aborted,
  5. @JsonKey(includeIfNull: false) int? exitCode,
  6. @JsonKey(includeIfNull: false) int? resultCode,
  7. required AccountStatus origStatus,
  8. required AccountStatus endStatus,
  9. @amountJsonConverter required BigInt totalFees,
  10. required Message inMessage,
  11. required List<Message> outMessages,
  12. 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;