dooClientApiInterceptorProvider top-level property

ProviderFamily<DOOClientApiInterceptor, DOOParameters> dooClientApiInterceptorProvider
final

Provides an instance of DOOClientApiInterceptor

Implementation

final dooClientApiInterceptorProvider =
    Provider.family<DOOClientApiInterceptor, DOOParameters>((ref, params) {
  final localStorage = ref.read(localStorageProvider(params));
  final authService = ref.read(dooClientAuthServiceProvider(params));
  return DOOClientApiInterceptor(
      params.inboxIdentifier, localStorage, authService);
});