onRemove method

void onRemove()

Called when the game is about to be removed from the Flutter widget tree, but before it is actually removed.

Implementation

void onRemove() {}