decode method
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");
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());
}