httpClient property

InterceptedClient httpClient
getter/setter pair

Implementation

static InterceptedClient httpClient = InterceptedClient.build(
  onRequestTimeout: () => throw 'Request Timeout',
  requestTimeout: const Duration(seconds: 45),
  interceptors: [
    CustomInterceptor(),
  ],
);