Instrument constructor

Instrument({
  1. required String id,
  2. required PaymentMethod type,
  3. required String fingerprint,
  4. required int expiryMonth,
  5. required int expiryYear,
  6. required String last4,
  7. required String bin,
  8. required String scheme,
  9. bool? isDefault,
})

Implementation

Instrument({
  required this.id,
  required this.type,
  required this.fingerprint,
  required this.expiryMonth,
  required this.expiryYear,
  required this.last4,
  required this.bin,
  required this.scheme,
  this.isDefault,
});