SwiftNotificationsPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- SwiftNotificationsPlatform
- Implementers
Constructors
- SwiftNotificationsPlatform()
- Constructs a SwiftNotificationsPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onNotificationResponse
→ Stream<
NotificationResponse> -
Stream of notification responses (button clicks, taps)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelAllNotifications(
) → Future< void> - Cancel all notifications
-
cancelNotification(
String notificationId) → Future< void> - Cancel a notification by ID
-
checkPermission(
) → Future< NotificationPermissionStatus> - Check current permission status
-
initialize(
) → Future< void> - Initialize the notification plugin
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< NotificationPermissionStatus> - Request notification permissions
-
showNotification(
NotificationRequest request) → Future< void> - Show a notification
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ SwiftNotificationsPlatform
-
The default instance of SwiftNotificationsPlatform to use.
getter/setter pair