encode method

void encode(
  1. KeyedArchive object
)
override

Implementation

void encode(KeyedArchive object) {
  super.encode(object);

  object.encode("summary", summary);
  object.encode("description", description);
  object.encodeObjects("parameters", parameters);

  operations.forEach((opName, op) {
    object.encodeObject(opName.toLowerCase(), op);
  });
}