encode method Null safety

void encode(
  1. KeyedArchive object
)
override

Implementation

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

  object.encodeObjectMap("schemas", schemas);
  object.encodeObjectMap("responses", responses);
  object.encodeObjectMap("parameters", parameters);
//    object.encodeObjectMap("examples", examples);
  object.encodeObjectMap("requestBodies", requestBodies);
  object.encodeObjectMap("headers", headers);
  object.encodeObjectMap("securitySchemes", securitySchemes);
//    object.encodeObjectMap("links", links);
  object.encodeObjectMap("callbacks", callbacks);
}