onDestroyed method
Called when a window is destroyed.
Implementation
void onDestroyed(String id, void Function() callback) {
onWindowEvent(id, 'destroyed', (_) => callback());
}
Called when a window is destroyed.
void onDestroyed(String id, void Function() callback) {
onWindowEvent(id, 'destroyed', (_) => callback());
}