BonusModel constructor

BonusModel({
  1. int? id,
  2. num? amount,
  3. int? orderCount,
  4. DateTime? activeFrom,
  5. DateTime? activeTill,
  6. DateTime? createdAt,
})

Implementation

BonusModel({
  this.id,
  this.amount,
  this.orderCount,
  this.activeFrom,
  this.activeTill,
  this.createdAt,
});