decode method

void decode(
  1. KeyedArchive json
)

Implementation

void decode(KeyedArchive json) {
  super.decode(json);
  description = json.decode("description");
  if (type == APIType.array) {
    items = json.decodeObject("items", () => APIProperty());
  }
}