path top-level constant
Provides a parameter in the url.
Declared as follows inside the path String:
@GET(path: '/{param}')
Available inside method declaration:
@GET(path: '/{param}')
Future<Response> fetch(@Path() String param);
Implementation
const path = Path();