cancelNotification static method
Cancels a notification with the given id.
Implementation
static Future<void> cancelNotification(int id, {String? tag}) async {
await Nylo.localNotifications((flutterLocalNotificationsPlugin) async {
await flutterLocalNotificationsPlugin.cancel(id: id, tag: tag);
});
}