render abstract method

FutureOr<void> render(
  1. Response response
)

Renders data to the given response.

This method is responsible for taking the data that needs to be rendered and writing it to the response. The implementation of this method can be synchronous or asynchronous, hence the return type is FutureOr<void>.

response - The response object where the rendered data will be written.

Implementation

FutureOr<void> render(Response response);