field top-level constant
Defines a field for a x-www-form-urlencoded request.
Automatically binds to the name of the method parameter.
@POST(path: '/')
Future<Response> create(@Field() String name);
Will be converted to { 'name': value }.
Implementation
const field = Field();