LCOV - code coverage report
Current view: top level - lib\chatwoot_callbacks.dart - chatwoot_callbacks.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 1 100.0 %
Date: Tue Jul 13 13:39:38 2021 Functions: 0 0 -

          Line data    Source code
       1             : 
       2             : import 'package:chatwoot_client_sdk/data/local/entity/chatwoot_message.dart';
       3             : import 'package:chatwoot_client_sdk/data/remote/chatwoot_client_exception.dart';
       4             : 
       5             : class ChatwootCallbacks{
       6             :   void Function()? onWelcome;
       7             :   void Function()? onPing;
       8             :   void Function()? onConfirmedSubscription;
       9             :   void Function()? onConversationStartedTyping;
      10             :   void Function()? onConversationIsOnline;
      11             :   void Function()? onConversationIsOffline;
      12             :   void Function()? onConversationStoppedTyping;
      13             :   void Function(ChatwootMessage)? onMessageReceived;
      14             :   void Function(ChatwootMessage, String)? onMessageSent;
      15             :   void Function(ChatwootMessage, String)? onMessageDelivered;
      16             :   void Function(List<ChatwootMessage>)? onPersistedMessagesRetrieved;
      17             :   void Function(List<ChatwootMessage>)? onMessagesRetrieved;
      18             :   void Function(ChatwootClientException)? onError;
      19             : 
      20           2 :   ChatwootCallbacks({
      21             :     this.onWelcome,
      22             :     this.onPing,
      23             :     this.onConfirmedSubscription,
      24             :     this.onMessageReceived,
      25             :     this.onMessageSent,
      26             :     this.onMessageDelivered,
      27             :     this.onPersistedMessagesRetrieved,
      28             :     this.onMessagesRetrieved,
      29             :     this.onConversationStartedTyping,
      30             :     this.onConversationStoppedTyping,
      31             :     this.onConversationIsOnline,
      32             :     this.onConversationIsOffline,
      33             :     this.onError,
      34             :   });
      35             : }

Generated by: LCOV version 1.15.alpha0w