UserModel constructor
UserModel({
- required String userName,
- required String email,
- required String firstName,
- required String lastName,
- required bool isActive,
- required String type,
- required String phone,
- required int business,
- required String photo,
- required int franchise,
- required bool approved,
- required bool isTester,
- required String coin,
- required String telegramUserName,
- required String? referralCode,
- required String? referBy,
- required List socialProfiles,
- required UserSetting setting,
- required String token,
- 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,
});