User constructor
const
User({
- required int id,
- required String firstName,
- required String lastName,
- required String username,
- required String phoneNumber,
- required UserStatus status,
- ProfilePhoto? profilePhoto,
- required bool isContact,
- required bool isMutualContact,
- required bool isVerified,
- required bool isSupport,
- required String restrictionReason,
- required bool isScam,
- required bool isFake,
- required bool haveAccess,
- required UserType type,
- required String languageCode,
- dynamic extra,
- int? clientId,
Represents a user
Implementation
const User({
required this.id,
required this.firstName,
required this.lastName,
required this.username,
required this.phoneNumber,
required this.status,
this.profilePhoto,
required this.isContact,
required this.isMutualContact,
required this.isVerified,
required this.isSupport,
required this.restrictionReason,
required this.isScam,
required this.isFake,
required this.haveAccess,
required this.type,
required this.languageCode,
this.extra,
this.clientId,
});