show static method
Shows a notification now; the same id replaces the old one. Web: only while the tab is open. UNotification.show(1, title: "Order shipped", body: "Arrives tomorrow")
Implementation
static Future<bool> show(int id, {String? title, String? body, Map<String, Object?>? payload, String? image, List<UNotificationAction> actions = const <UNotificationAction>[]}) =>
UNotifyChannel.show(UNotificationRequest(id: id, title: title, body: body, payload: payload, image: image, actions: actions));