decode method Null safety
- KeyedArchive object
override
Implementation
@override
void decode(KeyedArchive object) {
super.decode(object);
description = object.decode("description");
isRequired = object.decode("required") ?? false;
content = object.decodeObjectMap("content", () => APIMediaType());
}