Subscription constructor
Subscription({ - required String id,
- required String subscriberId,
- required String price,
- String? status,
- String? wallet,
- String? name,
- required String paymentHash,
- required String currency,
- required int passengerChangeCounter,
- required String package,
- required DateTime expiryDate,
- required String type,
- required int maxTotalBooking,
- required int neoMilesPaymentPercentage,
- required int neoOneMonthlySubscription,
- required String paymentId,
- required DateTime createdAt,
- 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,
});