TaskEntry<T> constructor
TaskEntry<T> (
- TaskCallback<
T> task, - int priority,
- ValueGetter<
bool> canIgnore, - String? debugLabel,
- Flow? flow, {
- String? id,
Implementation
TaskEntry(
this.task, this.priority, this.canIgnore, this.debugLabel, this.flow,
{this.id}) {
// ignore: prefer_asserts_in_initializer_lists
assert(() {
debugStack = StackTrace.current;
return true;
}());
completer = Completer<T>();
}