Contact class
A contact with attributes.
Constructors
-
Contact({String? contactArn, String? displayName, String? firstName, String? lastName, String? phoneNumber, List<
PhoneNumber> ? phoneNumbers, List<SipAddress> ? sipAddresses}) -
Contact.fromJson(Map<
String, dynamic> json) -
factory
Properties
- contactArn → String?
-
The ARN of the contact.
final
- displayName → String?
-
The name of the contact to display on the console.
final
- firstName → String?
-
The first name of the contact, used to call the contact on the device.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastName → String?
-
The last name of the contact, used to call the contact on the device.
final
- phoneNumber → String?
-
The phone number of the contact. The phone number type defaults to WORK. You
can either specify PhoneNumber or PhoneNumbers. We recommend that you use
PhoneNumbers, which lets you specify the phone number type and multiple
numbers.
final
-
phoneNumbers
→ List<
PhoneNumber> ? -
The list of phone numbers for the contact.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sipAddresses
→ List<
SipAddress> ? -
The list of SIP addresses for the contact.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited