setNotificationIcon static method

void setNotificationIcon(
  1. String notificationIcon
)

icon to be used on the notification, make sure notification icon is available for all screen sizes or else notification will fail to show!

notificationIcon - drawable icon to be used as icon to be shown inside notifications like: 'resource://drawable/ic_notification'

Implementation

static void setNotificationIcon(String notificationIcon) {
  notificationIco = notificationIcon;
}