TwilioVoiceWeb constructor

TwilioVoiceWeb()

Implementation

TwilioVoiceWeb() {
  // TODO(cybex-dev) - load twilio.min.js via [TwilioLoader] in future
  // loadTwilio();

  // setup SW listener
  final sw = TwilioSW.instance;
  sw._setupServiceWorker();
  sw.onMessageReceived = _handleServiceWorkerMessage;
}