HttpBody constructor
Implementation
factory HttpBody({
$core.String? contentType,
$core.List<$core.int>? data,
$core.Iterable<$0.Any>? extensions,
}) {
final _result = create();
if (contentType != null) {
_result.contentType = contentType;
}
if (data != null) {
_result.data = data;
}
if (extensions != null) {
_result.extensions.addAll(extensions);
}
return _result;
}