index abstract method

Future<String> index()

An asynchronous method for handling requests to the index route.

Subclasses should override this method to provide specific functionality for rendering the index view or handling index-related requests.

Returns a Future<String> that resolves to the result of the index operation.

Implementation

Future<String> index();