class FeaturedCategory {
  int? id;
  String? slug;
  String? image;
  String? name;
  String? description;
  int? parentId;
  int? orderBy;
  String? startingFromPrice;

  FeaturedCategory(
      {this.id,
      this.slug,
      this.image,
      this.name,
      this.description,
      this.parentId,
      this.orderBy,
      this.startingFromPrice});

  FeaturedCategory.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    slug = json['slug'];
    image = json['drawables'];
    name = json['name'];
    description = json['description'];
    parentId = json['parent_id'];
    orderBy = json['order_by'];
    startingFromPrice = json['starting_from_price'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['slug'] = this.slug;
    data['drawables'] = this.image;
    data['name'] = this.name;
    data['description'] = this.description;
    data['parent_id'] = this.parentId;
    data['order_by'] = this.orderBy;
    data['starting_from_price'] = this.startingFromPrice;
    return data;
  }
}
