onWindowClose method

void onWindowClose([
  1. int? windowId
])

Emitted when the window is going to be closed.

Implementation

void onWindowClose([int? windowId]) {}