Data constructor

Data({
  1. required String id,
  2. required String name,
  3. required String clientId,
  4. required String gameId,
  5. required String challengeType,
  6. required String rewardCriteria,
  7. required dynamic description,
  8. required dynamic status,
  9. required Props props,
  10. required List<TaskElement> tasks,
  11. required DateTime createdAt,
  12. required DateTime updatedAt,
  13. required int v,
})

Implementation

Data({
  required this.id,
  required this.name,
  required this.clientId,
  required this.gameId,
  required this.challengeType,
  required this.rewardCriteria,
  required this.description,
  required this.status,
  required this.props,
  required this.tasks,
  required this.createdAt,
  required this.updatedAt,
  required this.v,
});