Phone class
This class represents a phone number that has a value, a type and a fallback value.
Constructors
-
Phone.fromJson(Map<
String, dynamic> json) -
The default constructor.
factory
Properties
- defaultNumber → String?
-
The default phone number
that is used as fallback if number was not specified.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- number → String?
-
The phone number.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
The type of phone number.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert this object to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited