decode method

void decode(
  1. KeyedArchive object
)
override

Implementation

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

  tags = object.decode("tags");
  summary = object.decode("summary");
  description = object.decode("description");
  id = object.decode("operationId");
  consumes = object.decode("consumes");
  produces = object.decode("produces");
  deprecated = object.decode("deprecated") ?? false;
  parameters = object.decodeObjects("parameters", () => APIParameter());
  responses = object.decodeObjectMap("responses", () => APIResponse());
  schemes = object.decode("schemes");
  security = object.decode("security");
}