hideTrayIcon method

Future<void> hideTrayIcon()

Hide system tray icon

Implementation

Future<void> hideTrayIcon() async {
  try {
    await methodChannel.invokeMethod<void>('hideTrayIcon');
  } on PlatformException catch (e) {
    throw MCPPlatformException('Failed to hide tray icon', e.code, e.details);
  }
}