chatwootClientServiceProvider top-level property

ProviderFamily<ChatwootClientService, ChatwootParameters> chatwootClientServiceProvider
final

Provides instance of chatwoot client api service ChatwootClientService.

Implementation

final chatwootClientServiceProvider =
    Provider.family<ChatwootClientService, ChatwootParameters>((ref, params) {
  final authenticatedDio = ref.read(authenticatedDioProvider(params));
  return ChatwootClientServiceImpl(params.baseUrl, dio: authenticatedDio);
});