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
528B

  1. // ignore_for_file: public_member_api_docs, sort_constructors_first
  2. import 'package:json_annotation/json_annotation.dart';
  3. part 'ResourceHelper.g.dart';
  4. @JsonSerializable()
  5. class ResourceHelper {
  6. num? id;
  7. String? name;
  8. String? description;
  9. bool? isSelected;
  10. ResourceHelper({
  11. this.id,
  12. this.name,
  13. this.description,
  14. this.isSelected,
  15. });
  16. factory ResourceHelper.fromJson(Map<String, dynamic> json) => _$ResourceHelperFromJson(json);
  17. Map<String, dynamic> toJson() => _$ResourceHelperToJson(this);
  18. }