decode method

void decode(
  1. KeyedArchive object
)
override

Implementation

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

  name = object.decode("name");
  description = object.decode("description");
  location = APIParameterLocationCodec.decode(object.decode("in"));
  _required = object.decode("required");

  _deprecated = object.decode("deprecated");
  _allowEmptyValue = object.decode("allowEmptyValue");

  schema = object.decodeObject("schema", () => APISchemaObject());
  style = object.decode("style");
  _explode = object.decode("explode");
  _allowReserved = object.decode("allowReserved");
  content = object.decodeObjectMap("content", () => APIMediaType());
}