Subscriber constructor

Subscriber({
  1. required String uid,
  2. String? referralCode,
  3. required bool isGlobalSalesPool,
  4. required bool isFounder,
  5. required bool isCorporate,
  6. String? wallet,
  7. required String founderShares,
  8. String? parentId,
  9. required DateTime createdAt,
  10. required DateTime updatedAt,
  11. String? paymentAddress,
  12. bool? paymentAddressLinked,
  13. String? neoMilesWallet,
  14. String? rank,
  15. required String email,
  16. required String firstName,
  17. required String lastName,
  18. String? phone,
  19. String? countryCode,
  20. String? country,
  21. required String? role,
  22. bool? isActive,
  23. String? imgUrl,
  24. Subscription? lastSubscription,
  25. 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,
});