Contact class

Implemented types

Constructors

Contact({String phoneNumber, String firstName, String lastName, String vcard, int userId})
Describes a user contact. phoneNumber Phone number of the user . firstName First name of the user; 1-255 characters in length . lastName Last name of the user . vcard Additional data about the user in a form of vCard; 0-2048 bytes in length . userId Identifier of the user, if known; otherwise 0
Contact.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

firstName String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastName String
read / write
phoneNumber String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId int
read / write
vcard String
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"contact"