decode method

  1. @override
void decode(
  1. KeyedArchive object
)
override

Implementation

@override
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");
  parameters = object.decodeObjects("parameters", () => APIParameter());
  responses = object.decodeObjectMap("responses", () => APIResponse());
  schemes = object.decode("schemes");
  security = object.decode("security");
}