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