Path class final
Provides a parameter in the url.
Declared as follows inside the path String:
@Get(path: '/{param}')
Available inside method declaration:
@Get(path: '/{param}')
Future<Response> fetch(@Path() String param);
- Annotations
-
- @immutable
- @Target({TargetKind.parameter})
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