Contact class

Inheritance

Constructors

Contact({String phoneNumber, String firstName, String lastName, String vcard, int userId})
Describes a user contact
Contact.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

firstName String
firstName First name of the user; 1-255 characters in length
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastName String
lastName Last name of the user
read / write
phoneNumber String
phoneNumber Phone number of the user
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId int
userId Identifier of the user, if known; otherwise 0
read / write
vcard String
vcard Additional data about the user in a form of vCard; 0-2048 bytes in length
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'contact'