leave function

void leave(
  1. dynamic body()
)

Declare function called when we leave a menu

Implementation

void leave(dynamic Function() body) {
  _declarer!.leave(body);
}