Data class
Constructors
-
Data({required String? id, required String? deviceId, required String? name, required String? email, required String? phoneNumber, required String? referredBy, required String? referrerCode, required int? usersReferred, required String? referralCode, required String? referralCodeExpiry, required String? externalId, required int? score, required String? clientId, required String? token, required List tags, required List tasks, required List<
Reward> rewards, required String? photoUrl, required DateTime? createdAt, required DateTime? updatedAt, DataProperties? properties, required int? v}) -
Data.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clientId → String?
-
final
- createdAt → DateTime?
-
final
- deviceId → String?
-
final
- email → String?
-
final
- externalId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- name → String?
-
final
- phoneNumber → String?
-
final
- photoUrl → String?
-
final
- properties ↔ DataProperties?
-
getter/setter pair
- referralCode → String?
-
final
- referralCodeExpiry → String?
-
final
- referredBy → String?
-
final
- referrerCode → String?
-
final
-
rewards
→ List<
Reward> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → int?
-
final
-
final
-
final
- tasks → List
-
final
- token → String?
-
final
- updatedAt → DateTime?
-
final
- usersReferred → int?
-
final
- v → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited