ThingSmartUserModel class
Constructors
-
ThingSmartUserModel.fromJson(Map<
String, dynamic> json) -
ThingSmartUserModel.fromMap(Map<
String, dynamic> map) -
Create a ThingSmartUserModel from a Map. Alias for fromJson.
factory
Properties
- countryCode → String?
-
The user's country code.
final
- email → String?
-
The user's email.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headIconUrl → String?
-
The user's head icon URL.
final
- nickname → String?
-
The user's nickname.
final
- phoneNumber → String?
-
The user's phone number.
final
- regFrom → String?
-
The users Region From.
final
- regionCode → String?
-
The user's region code.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tempUnit → String?
-
The users Temp Unit.
final
- timezoneId → String?
-
The users Time Zone ID.
final
- uid → String?
-
The user's uid.
final
- username → String?
-
The user's username.
final
Methods
-
asMap(
) → Map< String, dynamic> -
Backwards-compatible alias for
toMap()used elsewhere in the project. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - JSON string representation of this model.
-
toMap(
) → Map< String, dynamic> - Convert this model to a Map using the same keys expected by fromJson.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited