getAllTasks static method

Future<List<TaskInfo>> getAllTasks()

Gets all registered tasks.

Implementation

static Future<List<TaskInfo>> getAllTasks() async {
  _ensureInitialized();
  final maps = await TaskFlowPlatform.instance.getAllTasks();
  return maps.map((m) => TaskInfo.fromMap(m)).toList();
}