Contact class

Constructors

Contact({String? city, String? companyId, int? createdAt, String? email, String? firstName, String? id, String? jobTitle, String? lastName, String? linkedinLink, String? phone, int? updatedAt, String? xLink})
Returns a new Contact instance.

Properties

city ↔ String?
City is where the person is based.
getter/setter pair
companyId ↔ String?
CompanyID links the contact to one of the org's companies; empty when the contact stands alone, and cleared when its company is deleted. A write naming a company the org does not own is refused with 422.
getter/setter pair
createdAt ↔ int?
CreatedAt is the unix second the contact was created. Server-owned.
getter/setter pair
email ↔ String?
Email is the person's email address.
getter/setter pair
firstName ↔ String?
FirstName is the person's given name.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the server-minted contact id ("cont_" + 128 random bits).
getter/setter pair
jobTitle ↔ String?
JobTitle is the person's role at their company.
getter/setter pair
lastName ↔ String?
LastName is the person's family name.
getter/setter pair
Linkedin is the person's LinkedIn URL.
getter/setter pair
phone ↔ String?
Phone is the person's phone number.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt ↔ int?
UpdatedAt is the unix second of the last write. Server-owned.
getter/setter pair
XLink is the person's X (Twitter) URL.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → Contact?
Returns a new Contact instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Contact>
mapFromJson(dynamic json) → Map<String, Contact>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Contact>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.