@override Future<bool> endAllActivities() async { return await _methodChannel.invokeMethod<bool>('endAllActivities') ?? false; }