showNotification static method
Implementation
static Future<void> showNotification({
required int id,
required String title,
required String body,
}) async {
AwesomeNotifications().createNotification(
content: NotificationContent(
id: id,
channelKey: 'basic_channel',
title: title,
body: body,
notificationLayout: NotificationLayout.Default,
),
);
}