Query constructor
const
Query([
- String? name
Provides the query parameters of a request.
Query is used to add query parameters after the request url. Example: /something?id=42
@Get(path: '/something')
Future<Response> fetch({@Query() String id});
See QueryMap to pass an Map<String, dynamic> as value
Implementation
const Query([this.name]);