Attempt constructor

const Attempt({
  1. String? paymentMethodType,
  2. String? paymentMethodId,
  3. String? reference,
  4. AttemptError? error,
  5. required AttemptStatus status,
  6. required DateTime initiatedAt,
  7. DateTime? succeededAt,
})

Implementation

const Attempt({
  this.paymentMethodType,
  this.paymentMethodId,
  this.reference,
  this.error,
  required this.status,
  required this.initiatedAt,
  this.succeededAt,
});