encode method
Implementation
@override
void encode(KeyedArchive object) {
super.encode(object);
object.encode("summary", summary);
object.encode("description", description);
if (parameters.isNotEmpty) {
object.encodeObjects("parameters", parameters);
}
operations.forEach((opName, op) {
object.encodeObject(opName.toLowerCase(), op);
});
}