closeHeadsUpNotification method

Future<void> closeHeadsUpNotification()

Closes the currently visible heads up notification (iOS only).

If no heads up notification is visible, the behavior is undefined.

Implementation

Future<void> closeHeadsUpNotification() =>
    _platform.action(ios: _platform.ios.closeHeadsUpNotification);