RepositoryHttpRequest constructor
This is used by RepositoryHttpClient to make HTTP requests.
You can use this class to create your own HTTP client,
or just use the default one.
But notice that Repositories will only use GET
method.
Implementation
const RepositoryHttpRequest({
required this.url,
Map<String, String>? headers,
}) : headers = headers ?? const {};