decode method
void
decode(
- KeyedArchive json
)
Implementation
@override
void decode(KeyedArchive json) {
super.decode(json);
title = json.decode("title");
description = json.decode("description");
isRequired = json.decode("required");
example = json.decode("example");
readOnly = json.decode("readOnly") ?? false;
items = json.decodeObject("items", () => APISchemaObject());
additionalProperties =
json.decodeObject("additionalProperties", () => APISchemaObject());
properties = json.decodeObjectMap("properties", () => APISchemaObject());
}