Contact class
Represents a contact selected by the user.
Constructors
- Contact({required String fullName, required PhoneNumber phoneNumber})
- Contact.fromMap(Map map)
-
factory
Properties
- fullName → String
-
The full name of the contact, e.g. "Dr. Daniel Higgens Jr.".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- phoneNumber → PhoneNumber
-
The phone number of the contact.
final
- 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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited