AppHttpClient constructor
AppHttpClient({})
Implementation
AppHttpClient(
{this.baseOptions,
List<Interceptor>? interceptors,
this.debug = true,
int requestSendTimeout = HttpConstants.requestReceiveTimeout,
int requestReceiveTimeout = HttpConstants.requestSendTimeout})
: super(
interceptors: interceptors ??
[ErrorInterceptor(), if (debug) LoggingInterceptor()],
useLogInterceptor: false,
baseOptions: baseOptions,
requestReceiveTimeout: requestReceiveTimeout,
requestSendTimeout: requestSendTimeout);