doOnClose method

void doOnClose(
  1. Function f
)

Implementation

void doOnClose(Function f) {
  _onClose.add(f);
}