toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "category": category.name,
    "name": name,
    "attributes": attributes,
    "objType": _objType
  };
}