onGameOver property
void Function()?
onGameOver
getter/setter pair
Called once when the game ends.
Implementation
void Function()? onGameOver;
Called once when the game ends.
void Function()? onGameOver;