decode method
void
decode(
- 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");
parameters = object
.decodeObjects("parameters", () => APIParameter.empty())
?.nonNulls
.toList();
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())
?.nonNulls
.toList();
servers =
object.decodeObjects("servers", () => APIServerDescription.empty());
}