in lib/src/response.dart [258:274]
Response change({
Map<String, /* String | List<String> */ Object?>? headers,
Map<String, Object?>? context,
body,
}) {
final headersAll = updateHeaders(this.headersAll, headers);
final newContext = updateMap(this.context, context);
body ??= extractBody(this);
return Response(
statusCode,
body: body,
headers: headersAll,
context: newContext,
);
}