updateService static method
Future<bool>
updateService({
- ForegroundTaskOptions? foregroundTaskOptions,
- String? notificationTitle,
- String? notificationText,
- Function? callback,
Update the foreground service.
Implementation
static Future<bool> updateService({
ForegroundTaskOptions? foregroundTaskOptions,
String? notificationTitle,
String? notificationText,
Function? callback,
}) =>
FlutterForegroundTaskPlatform.instance.updateService(
foregroundTaskOptions: foregroundTaskOptions,
notificationText: notificationText,
notificationTitle: notificationTitle,
callback: callback,
);