encode method
Implementation
@override
void encode(KeyedArchive json) {
super.encode(json);
json.encode("description", description);
if (type == APIType.array) {
json.encodeObject("items", items);
}
}
@override
void encode(KeyedArchive json) {
super.encode(json);
json.encode("description", description);
if (type == APIType.array) {
json.encodeObject("items", items);
}
}