showNotification method

void showNotification(
  1. dynamic title
)

Show notification

Implementation

void showNotification(title) {
  _flutterLocalNotificationsPlugin.show(
      Random().nextInt(1000),
      title,
      null,
      NotificationDetails(
        android: AndroidNotificationDetails(
          keyNotificationChannelName,
          keyNotificationChannelName,
          // other properties...
        ),
      ));
}