onGenerateMenu method

dynamic onGenerateMenu(
  1. dynamic fn()
)

Implementation

onGenerateMenu(dynamic Function() fn) {
  generateMenu = fn;
}