stopBackgroundTask static method

Future<void> stopBackgroundTask(
  1. int taskId
)

Stops a background task by ID.

Implementation

static Future<void> stopBackgroundTask(int taskId) {
  return _instance.stopBackgroundTask(taskId);
}