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.

22 lines
489B

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