decode method
Implementation
void decode(KeyedArchive object) {
super.decode(object);
object.keys.forEach((k) {
if (k == r"$ref") {
// todo: reference
} else if (k == "parameters") {
parameters = object.decodeObjects(k, () => APIParameter())!;
} else {
operations[k] = object.decodeObject(k, () => APIOperation());
}
});
}