AgentMessageLenses class final
Typed lenses over AgentMessage — one per writable field.
Compose with then to reach a nested value:
AgentMessage.lenses.<field>.then(<Nested>.lenses.<leaf>).
Constructors
- AgentMessageLenses()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
role
→ ZorphyLens<
AgentMessage, AgentMessageRole> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
text
→ ZorphyLens<
AgentMessage, String> -
no setter
-
turn
→ ZorphyLens<
AgentMessage, int> -
no setter
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