Subscriber constructor
Subscriber({ - required String uid,
- String? referralCode,
- required bool isGlobalSalesPool,
- required bool isFounder,
- required bool isCorporate,
- String? wallet,
- required String founderShares,
- String? parentId,
- required DateTime createdAt,
- required DateTime updatedAt,
- String? paymentAddress,
- bool? paymentAddressLinked,
- String? neoMilesWallet,
- String? rank,
- required String email,
- required String firstName,
- required String lastName,
- String? phone,
- String? countryCode,
- String? country,
- required String? role,
- bool? isActive,
- String? imgUrl,
- Subscription? lastSubscription,
- List<Subscription>? subscriptions,
})
Implementation
Subscriber({
required this.uid,
this.referralCode,
required this.isGlobalSalesPool,
required this.isFounder,
required this.isCorporate,
this.wallet,
required this.founderShares,
this.parentId,
required this.createdAt,
required this.updatedAt,
this.paymentAddress,
this.paymentAddressLinked,
this.neoMilesWallet,
this.rank,
required this.email,
required this.firstName,
required this.lastName,
this.phone,
this.countryCode,
this.country,
required this.role,
this.isActive,
this.imgUrl,
this.lastSubscription,
this.subscriptions,
});