create static method
Implementation
static ProvidersService create(
http.Client httpClient, Uri baseUrl, RequestInterceptor authInterceptor) {
final client = ChopperClient(
client: httpClient,
baseUrl: baseUrl,
interceptors: [
HttpRequestLoggingInterceptor(),
authInterceptor,
],
converter: const JsonSerializableConverter({
AvailableProvider: AvailableProvider.fromJson,
}),
);
return _$ProvidersService(client);
}