onClose method

Future<void> onClose()

Implementation

Future<void> onClose() async {
  await _foregroundNotificationSubscription?.cancel();
  await _notificationOpenSubscription?.cancel();
}