closeNotifications method

Future<void> closeNotifications()

Closes the notification shade.

It must be visible, otherwise the behavior is undefined.

Implementation

Future<void> closeNotifications() {
  return platform.action.mobile(
    android: platform.android.closeNotifications,
    ios: platform.ios.closeNotifications,
  );
}