Cancels all executions of a task by name.
static Future<void> cancel(String name) async { _ensureInitialized(); await TaskFlowPlatform.instance.cancel(name); }