Phone class abstract

Phone

Properties:

  • cc - Country code. Length: 1–3 digits.
  • subscriber - Subscriber number. Length: 4-15 digits.
Annotations
  • @BuiltValue.new()

Constructors

Phone([void updates(PhoneBuilder b)])
factory

Properties

cc String?
Country code. Length: 1–3 digits.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriber String?
Subscriber number. Length: 4-15 digits.
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