NotificationListenerService class

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 Properties

notificationsStream Stream<ServiceNotificationEvent>
stream the incoming notifications events
no setter

Static Methods

isPermissionGranted() Future<bool>
check if notification permission is enebaled
requestPermission() Future<bool>
request notification permission it will open the notification settings page and return true once the permission granted.