User constructor
User({
- required int id,
- required String firstName,
- required String lastName,
- Usernames? usernames,
- required String phoneNumber,
- UserStatus? status,
- ProfilePhoto? profilePhoto,
- required int accentColorId,
- required int backgroundCustomEmojiId,
- UpgradedGiftColors? upgradedGiftColors,
- required int profileAccentColorId,
- required int profileBackgroundCustomEmojiId,
- EmojiStatus? emojiStatus,
- required bool isContact,
- required bool isMutualContact,
- required bool isCloseFriend,
- VerificationStatus? verificationStatus,
- required bool isPremium,
- required bool isSupport,
- RestrictionInfo? restrictionInfo,
- ActiveStoryState? activeStoryState,
- required bool restrictsNewChats,
- required int paidMessageStarCount,
- required bool haveAccess,
- UserType? type,
- required String languageCode,
- required bool addedToAttachmentMenu,
Implementation
User({
required this.id,
required this.firstName,
required this.lastName,
this.usernames,
required this.phoneNumber,
this.status,
this.profilePhoto,
required this.accentColorId,
required this.backgroundCustomEmojiId,
this.upgradedGiftColors,
required this.profileAccentColorId,
required this.profileBackgroundCustomEmojiId,
this.emojiStatus,
required this.isContact,
required this.isMutualContact,
required this.isCloseFriend,
this.verificationStatus,
required this.isPremium,
required this.isSupport,
this.restrictionInfo,
this.activeStoryState,
required this.restrictsNewChats,
required this.paidMessageStarCount,
required this.haveAccess,
this.type,
required this.languageCode,
required this.addedToAttachmentMenu,
});