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");
  parameters = object.decodeObjects("parameters", () => APIParameter.empty());
  requestBody =
      object.decodeObject("requestBody", () => APIRequestBody.empty());
  responses = object.decodeObjectMap("responses", () => APIResponse.empty());
  callbacks = object.decodeObjectMap("callbacks", () => APICallback());
  _deprecated = object.decode("deprecated");
  security =
      object.decodeObjects("security", () => APISecurityRequirement.empty());
  servers =
      object.decodeObjects("servers", () => APIServerDescription.empty());
}