decode method

  1. @override
void decode(
  1. KeyedArchive json
)

Implementation

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