hasTask method

Future<bool> hasTask(
  1. String taskName
)

Check if a task invocation with the given name has been cached before.

Implementation

Future<bool> hasTask(String taskName) async {
  final taskFile = _taskFile(taskName);
  return await taskFile.exists();
}