increaseBy static method

NotificationBadge increaseBy(
  1. int increaseBy
)

Create NotificationBadge object, which will increase the badge number with the specified value. increaseBy Increment value.

Implementation

static NotificationBadge increaseBy(int increaseBy) {
  var badge = NotificationBadge();
  badge.increase = increaseBy;
  return badge;
}