toJson method
Implementation
Map<String, Object?> toJson() {
Map<String, Object?> map = Map();
if (_categoryList != null) {
map['categoryList'] = _categoryList;
}
if (_status != null) {
map['status'] = _status;
}
if (_includeExpired != null) {
map['includeExpired'] = _includeExpired;
}
return map;
}