UserModel constructor

UserModel({
  1. required String userName,
  2. required String email,
  3. required String firstName,
  4. required String lastName,
  5. required bool isActive,
  6. required String type,
  7. required String phone,
  8. required int business,
  9. required String photo,
  10. required int franchise,
  11. required bool approved,
  12. required bool isTester,
  13. required String coin,
  14. required String telegramUserName,
  15. required String? referralCode,
  16. required String? referBy,
  17. required List socialProfiles,
  18. required UserSetting setting,
  19. required String token,
  20. required int id,
})

Implementation

UserModel({
  required this.userName,
  required this.email,
  required this.firstName,
  required this.lastName,
  required this.isActive,
  required this.type,
  required this.phone,
  required this.business,
  required this.photo,
  required this.franchise,
  required this.approved,
  required this.isTester,
  required this.coin,
  required this.telegramUserName,
  required this.referralCode,
  required this.referBy,
  required this.socialProfiles,
  required this.setting,
  required this.token,
  required this.id,
});