onUnload method Null safety

void onUnload()

called when the component is unloaded;

Implementation

void onUnload() {}