MobilePhone class

Represents a mobile phone.
Implemented types

Constructors

MobilePhone()
Initializes a new instance of the
MobilePhone.withNumber(String? name, String? phoneNumber)
Initializes a new instance of the

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited