clearMenus abstract method Null safety

void clearMenus()

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

void clearMenus();