Header class final
Passes a value to the header of the request.
Use the name of the method parameter or the name specified in the annotation.
@Get()
Future<Response> fetch(@Header() String foo);
- 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