background_service/background_service library
Classes
- BackgroundService
- Manages a generic background service capable of running arbitrary Dart functions.
Constants
- backgroundServiceNotificationId → const int
- notificationChannelDescription → const String
- notificationChannelId → const String
- notificationChannelName → const String
Typedefs
-
AppInitializationCallback
= Future<
void> Function(ServiceInstance service) - Signature for the application-specific initialization callback.
-
JobHandler
= Future<
void> Function(ServiceInstance service, Map<String, dynamic> ? payload, SqliteConnection db) - Signature for a job handler function.