Subscription constructor

Subscription({
  1. required String id,
  2. required String subscriberId,
  3. required String price,
  4. String? status,
  5. String? wallet,
  6. String? name,
  7. required String paymentHash,
  8. required String currency,
  9. required int passengerChangeCounter,
  10. required String package,
  11. required DateTime expiryDate,
  12. required String type,
  13. required int maxTotalBooking,
  14. required int neoMilesPaymentPercentage,
  15. required int neoOneMonthlySubscription,
  16. required String paymentId,
  17. required DateTime createdAt,
  18. required DateTime updatedAt,
})

Implementation

Subscription({
  required this.id,
  required this.subscriberId,
  required this.price,
  this.status,
  this.wallet,
  this.name,
  required this.paymentHash,
  required this.currency,
  required this.passengerChangeCounter,
  required this.package,
  required this.expiryDate,
  required this.type,
  required this.maxTotalBooking,
  required this.neoMilesPaymentPercentage,
  required this.neoOneMonthlySubscription,
  required this.paymentId,
  required this.createdAt,
  required this.updatedAt,
});