PublicUser class

Implementers

Constructors

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})
PublicUser.fromJson(Map<String, dynamic> json)
factory

Properties

avatarImage String?
It gets the avatar pic path
getter/setter pair
bio String?
Optionally bio value for this user data
getter/setter pair
company CompanyData?
Optionally company value for this user data
getter/setter pair
getAvatarPic String
no setter
getBio String
no setter
getLanguages List<LanguageData>
no setter
getLocationInfo String
no setter
getOpportunities List<Opportunity>
no setter
getRoleCompanyInfo String
no setter
no setter
getSpaces List<Membership>
no setter
getStatuses List<StatusModel>
no setter
getTopOfMind String
no setter
hashCode int
The hash code for this object.
no setterinherited
hasMinimumInfo bool
no setter
invitedBy InvitedByUser?
Optionally user who invited this user data
final
isPremium bool
final
isTopUser bool
Optionally bool flag to check if this user data is verified or not
final
languages List<LanguageData>?
Optionally list of languages for this user data
getter/setter pair
location CityData?
Optionally location value for this user data
getter/setter pair
name String
The name for this user data
getter/setter pair
opportunities List<Opportunity>?
Optionally opportunities value for this user data
getter/setter pair
pk int
Primary key about the user data
final
role RoleData?
Optionally role value for this user data
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socials List<SocialLink>?
Optionally socials value for this user data
getter/setter pair
spaces List<Membership>?
Optionally list of spaces for this user data
final
statuses List<StatusModel>?
Optionally statuses value for this user data
getter/setter pair
surname String
The surname for this user data
getter/setter pair
topOfMind String?
Optionally top of mind text value for this user data
getter/setter pair
totalMeetings int
The number of total meetings
final
username String
The username for this user data
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited