updateService static method

Future<bool> updateService({
  1. ForegroundTaskOptions? foregroundTaskOptions,
  2. String? notificationTitle,
  3. String? notificationText,
  4. 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,
    );