Path class
Annotation to define a path parameter mapping.
@Route('users/:userId')
abstract class UserRoute with _$UserRoute {
const factory UserRoute({
@Path('userId') required String id,
}) = _UserRoute;
}
- Annotations
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