toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.count != null) {
json[r'count'] = this.count;
} else {
json[r'count'] = null;
}
if (this.crumb != null) {
json[r'crumb'] = this.crumb;
} else {
json[r'crumb'] = null;
}
if (this.parent != null) {
json[r'parent'] = this.parent;
} else {
json[r'parent'] = null;
}
if (this.catId != null) {
json[r'cat_id'] = this.catId;
} else {
json[r'cat_id'] = null;
}
if (this.treePath != null) {
json[r'tree_path'] = this.treePath;
} else {
json[r'tree_path'] = null;
}
return json;
}