Interceptor constructor
Interceptor({
- SaveResponseUseCase? saveResponseUseCase,
- SaveRequestUseCase? saveRequestUseCase,
- SaveErrorUseCase? saveErrorUseCase,
- bool kIsDebug = false,
- bool showFloating = true,
- Duration? duration,
Implementation
Interceptor({
this.saveResponseUseCase,
this.saveRequestUseCase,
this.saveErrorUseCase,
this.kIsDebug = false,
this.showFloating = true,
this.navigatorKey,
this.duration,
this.navigateToDetail,
}) {
saveErrorUseCase = locator<SaveErrorUseCase>();
saveResponseUseCase = locator<SaveResponseUseCase>();
saveRequestUseCase = locator<SaveRequestUseCase>();
}