MethodChannelFlutterBadgeManager class

The entry point for accessing a app badge.

You can get an instance by calling MethodChannelFlutterBadgeManager.instance.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
isMock bool
Only mock implementations should set this to true.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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