SamReq class
The request object used during the processing of a SamModel.present proposal.
The SamReq object is created by the SamModel.present method. It contains information from the requestor.
In addition, defaults such as whether the render function should be activated is set to defaults based on the request. These may be modified by the handlers of the request.
Constructors
Properties
- action ↔ String
-
action or null for request
read / write
- bLog ↔ bool
-
true if debug logs will be executed
read / write
- expState ↔ String
-
Expected state of SamModel. The request is rejected if the SamModel state does not match.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- nap ↔ bool
-
true if request honors nap
read / write
- raise ↔ bool
-
true if request sends signal
read / write
- reject ↔ String
-
not null if request being rejected. Explains why.
read / write
- rejector ↔ Function
-
A callback called if the request fails. The default is to terminate.
read / write
- render ↔ bool
-
true if request will cause render invocation
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- signal ↔ Object
-
signal or null for request
read / write
- signalParms ↔ Map
-
parameters passed in with signal request. [...]
read / write
- state ↔ String
-
state or null for request
read / write
- stepParms ↔ Map
-
parameters passed in with request. [...]
read / write
- what ↔ Object
-
One of an action (sa prefix), state (ss prefix) or signal (sg prefix) [...]
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited