showNotification method

Future<void> showNotification({
  1. required int id,
  2. required String title,
  3. required String body,
  4. NotificationDetails? details,
})

Implementation

Future<void> showNotification({
  required int id,
  required String title,
  required String body,
  NotificationDetails? details,
}) async {
  await _plugin.show(id, title, body, details);
}