didRequestAppExit method
It is for controlling the exit try
AppExitResponse.cancel Cancel the exiting process don't try to exit
AppExitResponse.exit Exiting the app can be done
Implementation
Future<AppExitResponse> didRequestAppExit() async =>
await _state.didRequestAppExit();