decode method

void decode(
  1. KeyedArchive object
)
override

Implementation

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

  description = object.decode("description");
  _required = object.decode("required");
  content = object.decodeObjectMap("content", () => new APIMediaType())
      as Map<String, APIMediaType>;
}