CelmGoalRef class

A goal the domain pack defines, with its parameters.

A caller names a goal; it does not author one. The step graph is domain knowledge and lives in the pack, so a port taking a goal definition would make the planner write the structure — the load this contract removes, handed back at the door.

Constructors

CelmGoalRef({required String id, Map<String, dynamic> params = const {}})
const
CelmGoalRef.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Goal id, as the pack defines it.
final
params Map<String, dynamic>
Parameters the goal declares.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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