You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
579B

  1. class RequestTaskUpdate {
  2. int? id;
  3. bool? completed;
  4. String? completedDetail;
  5. RequestTaskUpdate({
  6. this.id,
  7. this.completed,
  8. this.completedDetail,
  9. });
  10. RequestTaskUpdate.fromJson(Map<String, dynamic> json) {
  11. id = json['id'];
  12. completed = json['completed'];
  13. completedDetail = json['completedDetail'];
  14. }
  15. Map<String, dynamic> toJson() {
  16. final Map<String, dynamic> data = new Map<String, dynamic>();
  17. data['id'] = this.id;
  18. data['completed'] = this.completed;
  19. data['completedDetail'] = this.completedDetail;
  20. return data;
  21. }
  22. }