Person class

Information about a person merged from various data sources such as the authenticated user's contacts and profile data.

Most fields can have multiple items. The items in a field have no guaranteed order, but each non-empty field is guaranteed to have exactly one field with metadata.primary set to true.

Constructors

Person({List<Address>? addresses, String? ageRange, List<AgeRangeType>? ageRanges, List<Biography>? biographies, List<Birthday>? birthdays, List<BraggingRights>? braggingRights, List<CalendarUrl>? calendarUrls, List<ClientData>? clientData, List<CoverPhoto>? coverPhotos, List<EmailAddress>? emailAddresses, String? etag, List<Event>? events, List<ExternalId>? externalIds, List<FileAs>? fileAses, List<Gender>? genders, List<ImClient>? imClients, List<Interest>? interests, List<Locale>? locales, List<Location>? locations, List<Membership>? memberships, PersonMetadata? metadata, List<MiscKeyword>? miscKeywords, List<Name>? names, List<Nickname>? nicknames, List<Occupation>? occupations, List<Organization>? organizations, List<PhoneNumber>? phoneNumbers, List<Photo>? photos, List<Relation>? relations, List<RelationshipInterest>? relationshipInterests, List<RelationshipStatus>? relationshipStatuses, List<Residence>? residences, String? resourceName, List<SipAddress>? sipAddresses, List<Skill>? skills, List<Tagline>? taglines, List<Url>? urls, List<UserDefined>? userDefined})
Person.fromJson(Map json_)

Properties

addresses List<Address>?
The person's street addresses.
getter/setter pair
ageRange String?
DEPRECATED (Please use person.ageRanges instead) The person's age range.
getter/setter pair
ageRanges List<AgeRangeType>?
The person's age ranges.
getter/setter pair
biographies List<Biography>?
The person's biographies.
getter/setter pair
birthdays List<Birthday>?
The person's birthdays.
getter/setter pair
braggingRights List<BraggingRights>?
DEPRECATED: No data will be returned The person's bragging rights.
getter/setter pair
calendarUrls List<CalendarUrl>?
The person's calendar URLs.
getter/setter pair
clientData List<ClientData>?
The person's client data.
getter/setter pair
coverPhotos List<CoverPhoto>?
The person's cover photos.
getter/setter pair
emailAddresses List<EmailAddress>?
The person's email addresses.
getter/setter pair
etag String?
The HTTP entity tag of the resource.
getter/setter pair
events List<Event>?
The person's events.
getter/setter pair
externalIds List<ExternalId>?
The person's external IDs.
getter/setter pair
fileAses List<FileAs>?
The person's file-ases.
getter/setter pair
genders List<Gender>?
The person's genders.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imClients List<ImClient>?
The person's instant messaging clients.
getter/setter pair
interests List<Interest>?
The person's interests.
getter/setter pair
locales List<Locale>?
The person's locale preferences.
getter/setter pair
locations List<Location>?
The person's locations.
getter/setter pair
memberships List<Membership>?
The person's group memberships.
getter/setter pair
metadata PersonMetadata?
Metadata about the person.
getter/setter pair
miscKeywords List<MiscKeyword>?
The person's miscellaneous keywords.
getter/setter pair
names List<Name>?
The person's names.
getter/setter pair
nicknames List<Nickname>?
The person's nicknames.
getter/setter pair
occupations List<Occupation>?
The person's occupations.
getter/setter pair
organizations List<Organization>?
The person's past or current organizations.
getter/setter pair
phoneNumbers List<PhoneNumber>?
The person's phone numbers.
getter/setter pair
photos List<Photo>?
The person's photos.
getter/setter pair
relations List<Relation>?
The person's relations.
getter/setter pair
relationshipInterests List<RelationshipInterest>?
DEPRECATED: No data will be returned The person's relationship interests.
getter/setter pair
relationshipStatuses List<RelationshipStatus>?
DEPRECATED: No data will be returned The person's relationship statuses.
getter/setter pair
residences List<Residence>?
DEPRECATED: (Please use person.locations instead) The person's residences.
getter/setter pair
resourceName String?
The resource name for the person, assigned by the server.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sipAddresses List<SipAddress>?
The person's SIP addresses.
getter/setter pair
skills List<Skill>?
The person's skills.
getter/setter pair
taglines List<Tagline>?
DEPRECATED: No data will be returned The person's taglines.
getter/setter pair
urls List<Url>?
The person's associated URLs.
getter/setter pair
userDefined List<UserDefined>?
The person's user defined data.
getter/setter pair

Methods

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

Operators

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