Eraser class

Constructors

Eraser()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

clearAllAppNotifications() Future<void>
Clears all push notifications that have been received by your Flutter app.
clearAppNotificationsByTag(String tag) Future<void>
Clears all push notifications that have been received by your Flutter app that have the specified tag.
resetBadgeCountAndRemoveNotificationsFromCenter() Future<void>
Sets the iOS applicationIconBadgeNumber to 0, thus removing the badge count from the app icon. Doing this also means that the notifications are removed from the iOS notifications center at the same time.
resetBadgeCountButKeepNotificationsInCenter() Future<void>
Sets the iOS applicationIconBadgeNumber to -1, which causes the badge count to be removed from the app icon. However, setting to -1 means that the notifications remain in the iOS notifications center.