HeadsetEvent constructor

HeadsetEvent()

Implementation

factory HeadsetEvent() {
  if (_instance == null) {
    final methodChannel =
        const MethodChannel('flutter.moum/headset_connection_event');
    _instance = HeadsetEvent.private(methodChannel);
  }

  return _instance!;
}