NotificationBadge class Null safety

Inheritance

Constructors

NotificationBadge()

Properties

badge int?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
increase int?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

increaseBy(int increaseBy) NotificationBadge
Create NotificationBadge object, which will increase the badge number with the specified value. increaseBy Increment value.
setValue(int badgeValue) NotificationBadge
Create a notification badge object, which will set the badge number with the specified value. badgeValue Badge value.