TaskGraphNode class final

One task in a TaskGraph.

Constructors

TaskGraphNode({required String id, required String title, String? description, TaskGraphStatus status = TaskGraphStatus.pending, List<String> dependsOn = const <String>[], num? progressCurrent, num? progressTotal, Map<String, Object?> metadata = const <String, Object?>{}})
const

Properties

busy → bool
no setter
dependsOn → List<String>
Task ids that must complete before this task.
final
description → String?
Optional longer task description.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Stable task identity used by semantics and selection preservation.
final
metadata → Map<String, Object?>
App-specific semantic state carried by the task.
final
progressCurrent → num?
Current progress value, when known.
final
progressTotal → num?
Total progress value, when known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → TaskGraphStatus
Current task lifecycle status.
final
title → String
Primary task label.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited