Card constructor

Card({
  1. int? id,
  2. DateTime? created,
  3. DateTime? modified,
  4. DateTime? deletedAt,
  5. required String stripeToken,
  6. String? stripeId,
  7. String? last4,
  8. String? brand,
  9. String? country,
  10. int? expMonth,
  11. int? expYear,
  12. bool? isDefault,
  13. bool? isActive,
  14. required int user,
})

Returns a new Card instance.

Implementation

Card({
  this.id,
  this.created,
  this.modified,
  this.deletedAt,
  required this.stripeToken,
  this.stripeId,
  this.last4,
  this.brand,
  this.country,
  this.expMonth,
  this.expYear,
  this.isDefault,
  this.isActive,
  required this.user,
});