PlainNumber class
Constructors
- PlainNumber(String _uNumber)
Properties
- country → TheCountry
-
The vitals of the Country the number belongs to
finalinherited
- dialCode → String
-
The dial-code of the Country inlcluding
+
at the start for example+91
of india or+1
of USA,finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- hasNumber → bool
-
Whether this TheNumber contains the number component
finalinherited
- internationalNumber → String
-
The phone number component with dial-code
no setteroverride
- isPlainNumber → bool
-
no setteroverride
- isValidLength → bool
-
Whether this TheNumber's number component is of correct length
finalinherited
- number → String
-
The phone number component without any dial-code
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addNumber(
String number) → TheNumber? -
Returns new TheNumber by populating this with new number provided
inherited
-
isNotANumber(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeNumber(
) → TheNumber? -
Returns new TheNumber by removing the number component
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited