onStop method Null safety

void onStop()

Called when the program is stopped due to a keypress

Implementation

void onStop() {}