UserModel class
- Available Extensions
- Annotations
-
- @CopyWith()
- @JsonSerializable(includeIfNull: false)
Constructors
-
UserModel({bool? socialLogin, double? totalCampnayValuation, double? totalCash, double? totalcompanyBudget, double? totalcompanyReputation, double? totalemployNumber, double? totalemploySatisfaction, String? currentStudying, int? points, GameAvatar? gameAvatar, int? shotsDiscovered, int? rank, List<
String> ? subscribedCountries, int? activeCountries, String? username, List<CompanyValuationPoint> ? companyValuationPoint, List<double> ? studentGrades, List<GrowthTrend> ? growthTrend, 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, String? panel}) -
UserModel.fromJson(Map<
String, dynamic> data) -
factory
Properties
- activeCountries → int?
-
final
- address → String?
-
final
- avatar → String?
-
final
- classroom → Classroom?
-
final
-
companyValuationPoint
↔ List<
CompanyValuationPoint> ? -
getter/setter pair
- createdAt → String?
-
final
- currentStudying → String?
-
final
- email → String?
-
final
- emailVerified → bool?
-
final
- gameAvatar → GameAvatar?
-
final
-
growthTrend
↔ List<
GrowthTrend> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- language → String?
-
final
- name → String?
-
final
- nickname → String?
-
final
- panel → 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
-
final
- status → String?
-
final
-
studentGrades
↔ List<
double> ? -
getter/setter pair
-
subscribedCountries
→ List<
String> ? -
final
- totalCampnayValuation → double?
-
final
- totalCash → double?
-
final
- totalcompanyBudget → double?
-
final
- totalcompanyReputation → double?
-
final
- totalemployNumber → double?
-
final
- totalemploySatisfaction → double?
-
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