UserReward class
Constructors
- UserReward.new({required String? uid, required DateTime? createdAt, required String? couponCode, required Delivery? delivery, required DateTime? expiryAt, required String? note, required String? rewardId, required dynamic rewardName, required int? rewardQty, required int? rewardType, required int? status, required String? taskId, required DateTime? updatedAt, required int? usedCount, String? id, String? expiryText})
-
UserReward.fromJson(Map<
String, dynamic> json) -
factory
Properties
- couponCode → String?
-
final
- createdAt → DateTime?
-
final
- delivery → Delivery?
-
final
- expiryAt → DateTime?
-
final
- expiryText → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- note → String?
-
final
- rewardId → String?
-
final
- rewardName → dynamic
-
final
- rewardQty → int?
-
final
- rewardType → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int?
-
final
- taskId → String?
-
final
- uid → String?
-
final
- updatedAt → DateTime?
-
final
- usedCount → int?
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited