Transaction constructor

Transaction({
  1. String? id,
  2. DateTime? createdAt,
  3. DateTime? updatedAt,
  4. String? amount,
  5. int? decimals,
  6. String? destination,
  7. List<TransactionError>? errors = const [],
  8. String? explorerUrl,
  9. String? feePayer,
  10. String? ip,
  11. String? mint,
  12. int? processingDuration,
  13. String? referenceId,
  14. String? referenceType,
  15. String? signature,
  16. DateTime? solanaCommitted,
  17. int? solanaCommittedDuration,
  18. DateTime? solanaFinalized,
  19. int? solanaFinalizedDuration,
  20. DateTime? solanaStart,
  21. Object? solanaTransaction,
  22. String? source_,
  23. TransactionStatus? status,
  24. int? totalDuration,
  25. String? tx,
  26. String? ua,
  27. DateTime? webhookEventStart,
  28. DateTime? webhookEventEnd,
  29. int? webhookEventDuration,
  30. DateTime? webhookVerifyStart,
  31. DateTime? webhookVerifyEnd,
  32. int? webhookVerifyDuration,
})

Returns a new Transaction instance.

Implementation

Transaction({
  this.id,
  this.createdAt,
  this.updatedAt,
  this.amount,
  this.decimals,
  this.destination,
  this.errors = const [],
  this.explorerUrl,
  this.feePayer,
  this.ip,
  this.mint,
  this.processingDuration,
  this.referenceId,
  this.referenceType,
  this.signature,
  this.solanaCommitted,
  this.solanaCommittedDuration,
  this.solanaFinalized,
  this.solanaFinalizedDuration,
  this.solanaStart,
  this.solanaTransaction,
  this.source_,
  this.status,
  this.totalDuration,
  this.tx,
  this.ua,
  this.webhookEventStart,
  this.webhookEventEnd,
  this.webhookEventDuration,
  this.webhookVerifyStart,
  this.webhookVerifyEnd,
  this.webhookVerifyDuration,
});