handle abstract method Null safety
- Request request
The primary request handling method of this object.
Subclasses implement this method to provide their request handling logic.
If this method returns a Response, it will be sent as the response for request
linked controllers will not handle it.
If this method returns request
, the linked controller handles the request.
If this method returns null, request
is not passed to any other controller and is not responded to. You must respond to request
through Request.raw.
Implementation
FutureOr<RequestOrResponse?> handle(Request request);