toJson method
Implementation
Map<String, dynamic> toJson() => {
"name": name,
"qty": qty,
"id": id,
"price": price,
"cat1": cat1,
"cat2": cat2,
"cat3": cat3,
"category_type": categoryType,
"category_code": categoryCode,
"start_date": startDate,
"end_date": endDate,
};