ContactReq class

Constructors

ContactReq({String? city, String? companyId, String? email, String? firstName, String? id, String? jobTitle, String? lastName, String? linkedinLink, String? phone, String? xLink})
Returns a new ContactReq 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.
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 names the contact to update and comes from the path. A create ignores it: the server mints the id.
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
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) → ContactReq?
Returns a new ContactReq instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ContactReq>
mapFromJson(dynamic json) → Map<String, ContactReq>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ContactReq>>

Constants

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