mirrored_repositories/flutter_app_kindem/lib
class SubCategory {
  String? id;
  String? name;
  String? image;
  int? complete;
  int? total;
  int? get getComplete => this.complete;

  set setComplete(int? complete) => this.complete = complete;

  get getTotal => this.total;

  set setTotal(total) => this.total = total;

  String? get getId => this.id;

  set setId(String? id) => this.id = id;

  get getName => this.name;

  set setName(name) => this.name = name;

  get getImage => this.image;

  set setImage(image) => this.image = image;

  SubCategory(this.id, this.name, this.image);

  SubCategory.fromJson(Map<String, dynamic> parsedJson) {
    this.id = parsedJson['id'];
    this.name = parsedJson['name'];
    this.image = parsedJson['image'];
    this.complete = parsedJson['complete'];
    this.total = parsedJson['total'];
  }
}
