decode method
Implementation
void decode(KeyedArchive object) {
super.decode(object);
description = object.decode("description");
_required = object.decode("required") ?? _required;
content = object.decodeObjectMap("content", () => APIMediaType())!;
}