Reward class

Constructors

Reward.new({required String userId, String? taskId, String? event, required int quantity, required String rewardId, required String rewardName, required String rewardType, required String rewardValue})
Reward.fromJson(Map<String, dynamic> json)
factory

Properties

event String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
properties ↔ dynamic
getter/setter pair
quantity int
getter/setter pair
rewardId String
getter/setter pair
rewardName String
getter/setter pair
rewardType String
getter/setter pair
rewardValue String
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited