MethodChannelFlutterBadgeManager class
The entry point for accessing a app badge.
You can get an instance by calling MethodChannelFlutterBadgeManager.instance.
- Inheritance
-
- Object
- PlatformInterface
- FlutterBadgeManagerPlatform
- MethodChannelFlutterBadgeManager
Properties
Methods
-
isSupported(
) → Future< bool> -
Checks if the device supports app badges.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → Future< void> -
Removes the app badge.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
int count) → Future< void> -
Updates the app badge count.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → MethodChannelFlutterBadgeManager
-
Returns the default instance
of MethodChannelFlutterBadgeManager.
no setter