WebCallkitWeb constructor

WebCallkitWeb({
  1. CKConfiguration? configuration,
})

The method channel used to interact with the native platform.

Implementation

// @visibleForTesting
// final methodChannel = const MethodChannel('web_callkit');

WebCallkitWeb({
  CKConfiguration? configuration,
})  : /*_audioManager = audioManager ?? AudioManager(),*/
      _callManager = CallManager(),
      _notificationManager = NotificationManagerImplWeb(),
      _configuration = configuration ?? WebCallkitPlatform.defaultConfiguration,
      super() {
  _setupNotificationEventListeners();
  _callManager.setOnCallUpdate(_onCallUpdated);
}