getTaskId static method
Get the taskId for a specific filename
Returns null if no task is registered for this filename
Implementation
static Future<String?> getTaskId(String filename) async {
try {
final registeredTasks = await getAllRegisteredTasks();
return registeredTasks[filename];
} catch (e) {
debugPrint('TaskRegistry: Failed to get taskId for $filename: $e');
return null;
}
}