getStatus static method
Gets the current status of a task by name.
Implementation
static Future<TaskStatus?> getStatus(String name) async {
_ensureInitialized();
final map = await TaskFlowPlatform.instance.getStatus(name);
return map != null ? TaskStatus.fromMap(map) : null;
}