decode method

void decode(
  1. KeyedArchive object
)
override

Implementation

void decode(KeyedArchive object) {
  super.decode(object);

  description = object.decode("description");
  _required = object.decode("required") ?? _required;
  content = object.decodeObjectMap("content", () => APIMediaType())!;
}