Contact class

Representation of a Contact to add to the OS

Constructors

Contact.new({String? firstname, String? lastname, String? company, String? phone, String? email})
Constructor allows filling all possible properties

Properties

company String?
Company name to prefill in the new contact
getter/setter pair
email String?
The primary E-Mail address to prefill in the new contact
getter/setter pair
firstname String?
First name to prefill in the new contact
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastname String?
Last name to prefill in the new contact
getter/setter pair
phone String?
Primary phone number to prefill the new contact
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, String?>
Converts the contact to a map
toString() String
A string representation of this object.
inherited

Operators

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