MethodChannelSwiftNotifications class

An implementation of SwiftNotificationsPlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
The event channel for notification responses
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
onNotificationResponse Stream<NotificationResponse>
Stream of notification responses (button clicks, taps)
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelAllNotifications() Future<void>
Cancel all notifications
override
cancelNotification(String notificationId) Future<void>
Cancel a notification by ID
override
checkPermission() Future<NotificationPermissionStatus>
Check current permission status
override
initialize() Future<void>
Initialize the notification plugin
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermission() Future<NotificationPermissionStatus>
Request notification permissions
override
showNotification(NotificationRequest request) Future<void>
Show a notification
override
toString() String
A string representation of this object.
inherited

Operators

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