clearMenus method

  1. @override
Future<void> clearMenus()
override

Clears any existing platform-rendered menus and leaves the application with no menus.

It is not necessary to call this before updating the menu with setMenus.

Implementation

@override
Future<void> clearMenus() async =>
    await _channel.invokeMethod<void>('Menu.Clear');