dispose method
Implementation
Future<void> dispose() async {
_disposed = true;
await _wakeSubscription?.cancel();
_wakeSubscription = null;
await _deepLinkListener?.dispose();
await _lifecycleWakeSignals?.dispose();
await _events.close();
}