createNotification abstract method

Future<bool> createNotification({
  1. required NotificationContent content,
  2. NotificationSchedule? schedule,
  3. List<NotificationActionButton>? actionButtons,
})

LOCAL NOTIFICATION METHODS ********************************************* Creates a new notification. If notification has no body or title, it will only be created, but never displayed. (background notification) schedule and actionButtons are optional

Implementation

/// Creates a new notification.
/// If notification has no [body] or [title], it will only be created, but never displayed. (background notification)
/// [schedule] and [actionButtons] are optional
Future<bool> createNotification({
  required NotificationContent content,
  NotificationSchedule? schedule,
  List<NotificationActionButton>? actionButtons,
});