setValue static method
Create a notification badge object, which will set the badge number with the specified value.
badgeValue
Badge value.
Implementation
static NotificationBadge setValue(int badgeValue) {
var badge = NotificationBadge();
badge.badge = badgeValue;
return badge;
}