PublicUser constructor
PublicUser({
- required int pk,
- required String name,
- required String surname,
- required String username,
- required bool isTopUser,
- required int totalMeetings,
- required bool isPremium,
- String? bio,
- String? avatarImage,
- CityData? location,
- RoleData? role,
- CompanyData? company,
- List<
Opportunity> ? opportunities, - List<
StatusModel> ? statuses, - List<
SocialLink> ? socials, - String? topOfMind,
- List<
Membership> ? spaces, - InvitedByUser? invitedBy,
- List<
LanguageData> ? languages,
Implementation
PublicUser({
required this.pk,
required this.name,
required this.surname,
required this.username,
required this.isTopUser,
required this.totalMeetings,
required this.isPremium,
this.bio,
this.avatarImage,
this.location,
this.role,
this.company,
this.opportunities,
this.statuses,
this.socials,
this.topOfMind,
this.spaces,
this.invitedBy,
this.languages,
});