Convert this object into a JSON object.
Map<String, dynamic> toJson() { return <String, dynamic>{ 'id': id, 'name': name, 'category': category, }; }