Response constructor
Response({})
Implementation
factory Response({
$core.String? description,
Schema? schema,
$core.Map<$core.String, Header>? headers,
$core.Map<$core.String, $core.String>? examples,
$core.Map<$core.String, $0.Value>? extensions,
}) {
final _result = create();
if (description != null) {
_result.description = description;
}
if (schema != null) {
_result.schema = schema;
}
if (headers != null) {
_result.headers.addAll(headers);
}
if (examples != null) {
_result.examples.addAll(examples);
}
if (extensions != null) {
_result.extensions.addAll(extensions);
}
return _result;
}