createResponseContext method
Future<ShelfResponseContext>
createResponseContext(
- Request request,
- ShelfResponseContext? response, [
- ShelfRequestContext? correspondingRequest
Implementation
@override
Future<ShelfResponseContext> createResponseContext(
shelf.Request request, ShelfResponseContext? response,
[ShelfRequestContext? correspondingRequest]) {
// Return the original response.
return Future.value(response!..correspondingRequest = correspondingRequest);
}