Phone class abstract
Phone
Properties:
- Annotations
-
- @BuiltValue.new()
Constructors
- Phone([void updates(PhoneBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- number → String
-
The full phone number provided as a single string. For example, "0031 6 11 22 33 44", "+316/1122-3344", or "(0031) 611223344".
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → PhoneTypeEnum
-
Type of phone number. Possible values: Landline, Mobile.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(PhoneBuilder)) → Phone -
Rebuilds the instance.
inherited
-
toBuilder(
) → PhoneBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Phone> -
no setter