addNewNotification method

void addNewNotification(
  1. String notificationTitle,
  2. String notificationBody
)

Implementation

void addNewNotification(String notificationTitle, String notificationBody) {
  try {
    if (!kIsWeb) {
      RefluttersdkPlatform.instance
          .addNewNotification(notificationTitle, notificationBody);
    }
  } catch (e) {
    debugPrint("$e");
  }
}