Transaction constructor

Transaction({
  1. int? amount,
  2. String? createdAt,
  3. String? currency,
  4. String? expiresAt,
  5. String? id,
  6. Object? metadata,
  7. String? notes,
  8. String? tags,
  9. String? type,
})

Returns a new Transaction instance.

Implementation

Transaction({
  this.amount,
  this.createdAt,
  this.currency,
  this.expiresAt,
  this.id,
  this.metadata,
  this.notes,
  this.tags,
  this.type,
});