willSendResponse method Null safety
- Response response
Executed prior to Response being sent.
This method is used to post-process response
just before it is sent. By default, does nothing.
The response
may be altered prior to being sent. This method will be executed for all requests,
including server errors.
Implementation
void willSendResponse(Response response) {}