PublicUser constructor

PublicUser({
  1. required int pk,
  2. required String name,
  3. required String surname,
  4. required String username,
  5. required bool isTopUser,
  6. required int totalMeetings,
  7. required bool isPremium,
  8. String? bio,
  9. String? avatarImage,
  10. CityData? location,
  11. RoleData? role,
  12. CompanyData? company,
  13. List<Opportunity>? opportunities,
  14. List<StatusModel>? statuses,
  15. List<SocialLink>? socials,
  16. String? topOfMind,
  17. List<Membership>? spaces,
  18. InvitedByUser? invitedBy,
  19. 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,
});