Transaction constructor
Transaction({
- String? id,
- DateTime? createdAt,
- DateTime? updatedAt,
- String? amount,
- int? decimals,
- String? destination,
- List<
TransactionError> ? errors = const [], - String? explorerUrl,
- String? feePayer,
- String? ip,
- String? mint,
- int? processingDuration,
- String? referenceId,
- String? referenceType,
- String? signature,
- DateTime? solanaCommitted,
- int? solanaCommittedDuration,
- DateTime? solanaFinalized,
- int? solanaFinalizedDuration,
- DateTime? solanaStart,
- Object? solanaTransaction,
- String? source_,
- TransactionStatus? status,
- int? totalDuration,
- String? tx,
- String? ua,
- DateTime? webhookEventStart,
- DateTime? webhookEventEnd,
- int? webhookEventDuration,
- DateTime? webhookVerifyStart,
- DateTime? webhookVerifyEnd,
- 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,
});