header top-level constant
Header
const header
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);
Implementation
const header = Header();