updateTrayTooltip method

Future<void> updateTrayTooltip(
  1. String tooltip
)

Update tray tooltip

Implementation

Future<void> updateTrayTooltip(String tooltip) async {
  try {
    await methodChannel
        .invokeMethod<void>('updateTrayTooltip', {'tooltip': tooltip});
  } on PlatformException catch (e) {
    throw MCPPlatformException(
        'Failed to update tray tooltip', e.code, e.details);
  }
}