MobilePhone class
Represents a mobile phone.
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Name
↔ String?
-
Gets or sets the name associated with this mobile phone.
getter/setter pair
-
PhoneNumber
↔ String?
-
Gets or sets the number of this mobile phone.
getter/setter pair
-
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.
inherited
-
Validate()
→ void
-
Validates this instance.
override