GetWithBlockState class
- Inheritance
-
- Object
- StubbleState
- GetWithBlockState
Constructors
- GetWithBlockState({required int symbol, required int line})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- line → int
-
final
-
methods
↔ Map<
String, Function> -
available method for processing.
Each method function should have two params: <StubbleMessage msg, StubbleContext context>
For a state to process a message of concrete type, it must implement a method with key of Message.getName() value.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → int
-
final
Methods
-
canAcceptMessage(
StubbleMessage msg) → bool -
Checks if state can accept messages of this type.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
NotifyMessage msg, StubbleContext context) → StubbleResult? -
process(
ProcessMessage msg, StubbleContext context) → StubbleResult? -
processMessage(
StubbleMessage msg, StubbleContext context) → StubbleResult? -
Processing message
inherited
-
result(
StubbleContext context) → StubbleResult -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited