Contact class abstract

Contact

Properties:

  • email - The individual's email address.
  • firstName - The individual's first name.
  • infix - The infix in the individual's name, if any.
  • lastName - The individual's last name.
  • phoneNumber - The individual's phone number, specified as 10-14 digits with an optional + prefix.
Annotations
  • @BuiltValue.new()

Constructors

Contact([void updates(ContactBuilder b)])
factory

Properties

email → String?
The individual's email address.
no setter
firstName → String?
The individual's first name.
no setter
hashCode → int
The hash code for this object.
no setterinherited
infix → String?
The infix in the individual's name, if any.
no setter
lastName → String?
The individual's last name.
no setter
phoneNumber → String?
The individual's phone number, specified as 10-14 digits with an optional + prefix.
no setter
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
rebuild(dynamic updates(ContactBuilder)) → Contact
Rebuilds the instance.
inherited
toBuilder() → ContactBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Contact>
no setter