HttpCall<R> constructor
HttpCall<R> ({
- String? baseURL,
- HttpClient? client,
- HttpMethod method = HttpMethod.GET,
- String path = '',
- bool fullPath = false,
- Object? body,
- int maxRetries = 0,
Implementation
HttpCall(
{String? baseURL,
HttpClient? client,
this.method = HttpMethod.GET,
this.path = '',
this.fullPath = false,
this.body,
this.maxRetries = 0})
: client = client ?? HttpClient(baseURL ?? getUriBase().toString());