AppBadgePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • AppBadgePlatform
Implementers

Constructors

AppBadgePlatform()

Properties

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

Methods

clearAllNotifications() → Future<bool>
getAndroidBadgeInfo() → Future<AndroidBadgeInfo?>
getBadgeCount() → Future<int>
getCapability() → Future<BadgeCapability>
getDeviceBrand() → Future<String>
getDeviceManufacturer() → Future<String>
getPermissionStatus() → Future<BadgePermissionStatus>
isBadgeSupported() → Future<bool>
isIgnoringBatteryOptimizations() → Future<bool>
isNotificationEnabled() → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openNotificationSettings() → Future<void>
removeBadge() → Future<bool>
requestNotificationPermission() → Future<bool>
toString() → String
A string representation of this object.
inherited
updateBadgeCount(int count, {bool postNotification = true, bool allowNotificationFallback = true, String? channelId, String? channelName, String? smallIcon}) → Future<bool>

Operators

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

Static Properties

instance ↔ AppBadgePlatform
getter/setter pair