ActionDef class

A custom action declaration, mirroring the official custom-action shape: name, description, params in positional order. Declaring an action makes the evaluator validate @Name(...) calls against these params; an invalid call evaluates to null with a runtime-error instead of passing through unchecked. Undeclared action names still pass through as before, for hosts that dispatch actions they do not want to declare.

Constructors

ActionDef(String name, String description, List<PropDef> params)
const

Properties

description → String
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
params → List<PropDef>
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
toString() → String
A string representation of this object.
inherited

Operators

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