PhoneNumbers class

A collection of phone numbers for the business.

During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as "+1 415 555 0132", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).

Constructors

PhoneNumbers({List<String>? additionalPhones, String? primaryPhone})
PhoneNumbers.fromJson(Map json_)

Properties

additionalPhones List<String>?
Up to two phone numbers (mobile or landline, no fax) at which your business can be called, in addition to your primary phone number.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
primaryPhone String?
A phone number that connects to your individual business location as directly as possible.
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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