Route class
Annotation to mark a method as a route
Used within @AirModule to define navigation routes.
Example:
@Route('/products/:id')
Widget productDetail(String id);
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
Route name for named navigation
final
- path → String
-
Route path (can include parameters like :id)
final
- requiresAuth → bool
-
Whether this route requires authentication
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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