Contact class Null safety

Represents a contact selected by the user.

Constructors

Contact({String? fullName, List<String>? phoneNumbers})
Contact.fromMap(Map map)
factory

Properties

fullName String?
The full name of the contact, e.g. "Jayesh Pansheriya".
final
hashCode int
The hash code for this object.
read-onlyinherited
phoneNumbers List<String>?
The phone number of the contact.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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