onClose method

dynamic onClose(
  1. dynamic onCloseFunction(
    1. Event e
    )
)

Uygulama Kapatıldığında Yapılması gerekenler. onClose yapılması gerekenler.

Implementation

onClose(Function(html.Event e) onCloseFunction) {
  html.window.onBeforeUnload.listen((html.Event e) => onCloseFunction(e));
}