updateService static method

Future<bool> updateService({
  1. String? notificationTitle,
  2. String? notificationText,
  3. Function? callback,
})

Update the foreground service.

Implementation

static Future<bool> updateService({
  String? notificationTitle,
  String? notificationText,
  Function? callback,
}) =>
    FlutterForegroundTaskPlatform.instance.updateService(
      notificationText: notificationText,
      notificationTitle: notificationTitle,
      callback: callback,
    );