SMRedirect class
SMRouter.handle("/redirect", (ctx) => const Text("会重定向到路由 /test")).use((ctx) => SMRedirect("/test));
- Inheritance
-
- Object
- RouteSettings
- SMRedirect
- Implementers
Constructors
- SMRedirect(String name, {Object? arguments})
-
路由重定向
const
Properties
Methods
-
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