decode method Null safety

  1. @override
void decode(
  1. KeyedArchive object
)
override

Implementation

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

  contentType = object.decode("contentType");
  headers = object.decodeObjectMap("headers", () => APIHeader());
  allowReserved = object.decode("allowReserved");
  explode = object.decode("explode");
  style = object.decode("style");
}