PhoneNumber class Null safety

Represents a phone number selected by the user.

Constructors

PhoneNumber({String? number, String? label})
PhoneNumber.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
label String?
The label associated with the phone number, e.g. "home" or "work".
final
number String?
The formatted phone number, e.g. "+1 (555) 555-5555"
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