UserModel class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
UserModel({int? points, GameAvatar? gameAvatar, int? shotsDiscovered, int? rank, List<
String> ? subscribedCountries, int? activeCountries, String? username, bool? emailVerified, String? nickname, bool? phoneVerified, String? role, String? status, bool? social, String? language, String? id, String? name, String? email, String? phone, String? avatar, String? address, String? createdAt, String? updatedAt, double? score, Classroom? classroom}) -
UserModel.fromJson(Map<
String, dynamic> data) -
factory
Properties
- activeCountries → int?
-
final
- address → String?
-
final
- avatar → String?
-
final
- classroom → Classroom?
-
final
- createdAt → String?
-
final
- email → String?
-
final
- emailVerified → bool?
-
final
- gameAvatar → GameAvatar?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- language → String?
-
final
- name → String?
-
final
- nickname → String?
-
final
- phone → String?
-
final
- phoneVerified ↔ bool?
-
getter/setter pair
- points → int?
-
final
- rank → int?
-
final
- role → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double?
-
final
- shotsDiscovered → int?
-
final
-
final
- status → String?
-
final
-
subscribedCountries
→ List<
String> ? -
final
- updatedAt → String?
-
final
- username → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited