condition property

  1. @override
bool Function(C) get condition
override

Optional condition to determine if this node should be skipped.

Implementation

@override
bool Function(C) get condition => (C context) {
  // 🕵️ THE SMOKING GUN: This is what's running instead of your Policy Task
  print(
    "⚠️ [FRAMEWORK_WARNING] Running DEFAULT AbstractTask condition (returns false) for: ${this.runtimeType}",
  );
  return false;
};