NetworkUser class

Data model about the public profile user data

Inheritance
Implementers

Constructors

NetworkUser({required String email, required int pk, required String name, required String surname, required String username, required String bio, required bool isTopUser, required int totalMeetings, required bool isPremium, String? avatarImage, CityData? location, RoleData? roleData, CompanyData? companyData, List<Opportunity>? opportunities, List<StatusModel>? statuses, List<SocialLink>? socials, String? topOfMind, List<Membership>? spaces, InvitedByUser? invitedBy, List<LanguageData>? languages})
NetworkUser.fromJson(Map<String, dynamic> json)
factory

Properties

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

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