UserPhone class
JSON template for a phone entry.
Constructors
- UserPhone()
- UserPhone.fromJson(Map _json)
Properties
- customType ↔ String
-
Custom Type.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- primary ↔ bool
-
If this is user's primary phone or not.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ String
-
Each entry can have a type which indicates standard types of that entry.
For example phone could be of home_fax work mobile etc. In addition to the
standard type an entry can have a custom type and can give it any name.
Such types should have the CUSTOM value as type and also have a customType
value.
read / write
- value ↔ String
-
Phone number.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited