isMatchUrlExit method

bool isMatchUrlExit(
  1. String url
)

Checks if a task with the given match URL exists.

Implementation

bool isMatchUrlExit(String url) {
  return allTasks.where((task) => task.matchUrl == url).isNotEmpty;
}