Reward class
Constructors
- Reward({String? userId, String? taskId, String? event, int? quantity, dynamic rewardId, dynamic rewardName, dynamic rewardType, dynamic rewardValue, RewardProperties? properties})
-
Reward.fromJson(Map<
String, dynamic> json) -
factory
Properties
- event ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- properties ↔ RewardProperties?
-
getter/setter pair
- quantity ↔ int?
-
getter/setter pair
- rewardId ↔ dynamic
-
getter/setter pair
- rewardName ↔ dynamic
-
getter/setter pair
- rewardType ↔ dynamic
-
getter/setter pair
- rewardValue ↔ dynamic
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taskId ↔ String?
-
getter/setter pair
- userId ↔ String?
-
getter/setter pair
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