ruutClientApiInterceptorProvider top-level property
Provides an instance of RuutChatClientApiInterceptor
Implementation
final ruutClientApiInterceptorProvider =
Provider.family<RuutChatClientApiInterceptor, RuutParameters>(
(ref, params) {
final localStorage = ref.read(localStorageProvider(params));
final authService = ref.read(ruutClientAuthServiceProvider(params));
return RuutChatClientApiInterceptor(
params.inboxIdentifier, localStorage, authService);
});