getLastRunEndState method
Get the exit status (crash or clean exit) of the last time the application was run.
Implementation
@override
Future<LastRunEndState> getLastRunEndState() async {
return _runCatchingAndReturn<LastRunEndState>(
'getLastRunEndState',
() => _platform.getLastRunEndState(),
defaultValue: LastRunEndState.invalid,
);
}