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() async {
  await _wrapRequest(
    'closeHeadsUpNotification',
    _client.closeHeadsUpNotification,
  );
}