encode method
Implementation
void encode(KeyedArchive object) {
super.encode(object);
if (content == null) {
throw ArgumentError(
"APIRequestBody must have non-null values for: 'content'.");
}
object.encode("description", description);
object.encode("required", _required);
object.encodeObjectMap("content", content);
}