TryExitCallback typedef
TryExitCallback =
Future<bool> Function(EscapeGame escapeGame)
Should be triggered when the user tries to exit the current escapeGame
.
Implementation
typedef TryExitCallback = Future<bool> Function(EscapeGame escapeGame);