RouteRepos class abstract
Interface defining the contract for route request handlers. RouteRepos establishes a standardized interface that all route handlers must implement. It serves as a contract ensuring that request handling components provide consistent entry points for processing HTTP requests. The interface is designed to support the routing system's n implementation details. This abstraction enables the framew Implementations should:
- Return appropriate response content as a string
- Manage any necessary asynchronous operations This interface is primarily implemented by Controller and its subcl
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
index(
) → Future< String> - Handles the primary request processing for this route handler. This method serves as the main entry point for processing HTTP requests when no specific action is specified. It should contain the core logic for handling the request and generating an appropriate respons The method is called by the routing system when a request matches the associated route pattern. Implementations should:
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited