PhoneNumber class
Represents a phone number selected by the user.
Constructors
- PhoneNumber({required String number, required String label})
- PhoneNumber.fromMap(Map map)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited