NotificationsService class
Constructors
- NotificationsService()
-
factory
Properties
-
didReceiveLocalNotificationStream
→ StreamController<
ContractBase> -
Streams are created so that app can respond to notification-related events
since the plugin is initialised in the
main
functionfinal - flutterLocalNotificationsPlugin → FlutterLocalNotificationsPlugin
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pair
- initializationSettingsIOS → DarwinInitializationSettings
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedNotificationPayload ↔ String?
-
getter/setter pair
-
selectNotificationStream
→ StreamController<
String?> -
final
Methods
-
dispose(
) → void -
getLinuxCapabilities(
) → Future< LinuxServerCapabilities> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notificationTapBackground(
NotificationResponse notificationResponse) → void -
notify(
ContractBase? contract, String payload) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- darwinNotificationCategoryPlain → const String
- Defines a iOS/MacOS notification category for plain actions.
- darwinNotificationCategoryText → const String
- Defines a iOS/MacOS notification category for text input actions.
- A notification action which triggers a App navigation event
- platform → const MethodChannel
- urlLaunchActionId → const String
- A notification action which triggers a url launch event