MembershipCard constructor
const
MembershipCard({ - Key? key,
- required bool hasSubscription,
- required bool hasActiveSubscription,
- required bool shouldShowRenew,
- required Datum subscriptionPackage,
- required String subscriptionExpiryDate,
- required List<Subscriptions> addons,
- required void onRenew(),
- required void onUpgrade(),
- required int totalUnusedAdultPassengerLimit,
- required int totalNeoOneMonthlySubscription,
- required int totalAdultPassengerLimit,
- required int totalBookings,
- required int totalUnusedBookings,
- required int neoOneMonthlySubscription,
- required bool hasExpiredSubscription,
})
Implementation
const MembershipCard({
super.key,
required this.hasSubscription,
required this.hasActiveSubscription,
required this.shouldShowRenew,
required this.subscriptionPackage,
required this.subscriptionExpiryDate,
required this.addons,
required this.onRenew,
required this.onUpgrade,
required this.totalUnusedAdultPassengerLimit,
required this.totalNeoOneMonthlySubscription,
required this.totalAdultPassengerLimit,
required this.totalBookings,
required this.totalUnusedBookings,
required this.neoOneMonthlySubscription,
required this.hasExpiredSubscription,
});