PhoneNumber class

A person's phone number.

Constructors

PhoneNumber({String? canonicalForm, String? formattedType, FieldMetadata? metadata, String? type, String? value})
PhoneNumber.fromJson(Map json_)

Properties

canonicalForm String?
The canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ibr/004/itu-t.E.164.1.2008.pdf) form of the phone number.
getter/setter pair
formattedType String?
The type of the phone number translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata FieldMetadata?
Metadata about the phone number.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
The type of the phone number.
getter/setter pair
value String?
The phone number.
getter/setter pair

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