Reward constructor

Reward({
  1. required String userId,
  2. String? taskId,
  3. String? event,
  4. required int quantity,
  5. required String rewardId,
  6. required String rewardName,
  7. required String rewardType,
  8. required String rewardValue,
})

Implementation

Reward({
  required this.userId,
  this.taskId,
  this.event,
  required this.quantity,
  required this.rewardId,
  required this.rewardName,
  required this.rewardType,
  required this.rewardValue,
});