SMDiscard class
SMRouter.handle("/discard", (ctx) => const Text("不会跳转到路由 /discard")).use((ctx) => SMDiscard());
- Inheritance
-
- Object
- RouteSettings
- SMRedirect
- SMDiscard
Constructors
- SMDiscard()
-
取消路由跳转
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