BaseActions class

The Lowder's Action preset.

Mixed-in types

Constructors

BaseActions()

Properties

executors → Map<String, dynamic>
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
log → Logger
final
pageLoadExecutors → Map<String, PageLoadFunction<LoadPageActionEvent, PageLoadedState>>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schema → Map<String, EditorAction>
no setterinherited

Methods

getSchema() → Map<String, Map<String, dynamic>>
inherited
handleStaticData(LoadPageActionEvent event) → PageLoadedState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBlocState(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onIf(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onLinkToAction(NodeSpec action, ActionContext context) → Future<ActionResult>
onLoadPageRequest(LoadPageActionEvent event) → Future<PageLoadedState>
onLoadPageRest(LoadPageActionEvent event) → Future<PageLoadedState>
onMessage(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onNavigate(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onPop(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onReload(NodeSpec action, ActionContext context) → Future<ActionResult>
onReloadAll(NodeSpec action, ActionContext context) → Future<ActionResult>
onReloadList(NodeSpec action, ActionContext context) → Future<ActionResult>
onRequest(NodeSpec action, ActionContext context) → Future<HttpActionResult>
onRest(NodeSpec action, ActionContext context) → Future<HttpActionResult>
onSetGlobalVar(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onSetLanguage(NodeSpec action, ActionContext context) → Future<ActionResult>
onSetState(NodeSpec action, ActionContext context) → Future<SilentActionResult>
onShowDialog(NodeSpec action, ActionContext context) → Future<SilentActionResult>
registerAction(String name, ExecutorFunction<ActionResult> executor, {bool abstract = false, String? baseType = EditorAction.action, Map<String, EditorPropertyType>? properties, Map<String, EditorActionType>? actions}) → void
inherited
registerActions() → void
override
registerHttpAction(String name, ExecutorFunction<HttpActionResult> executor, {bool abstract = false, String? baseType = EditorAction.action, Map<String, EditorPropertyType>? properties, Map<String, EditorActionType>? actions}) → void
inherited
registerLoadPageAction(String name, PageLoadFunction<LoadPageActionEvent, PageLoadedState> executor, {bool abstract = false, String? baseType = EditorAction.listAction, Map<String, EditorPropertyType>? properties, Map<String, EditorActionType>? actions}) → void
inherited
registerSilentAction(String name, ExecutorFunction<SilentActionResult> executor, {bool abstract = false, String? baseType = EditorAction.action, Map<String, EditorPropertyType>? properties, Map<String, EditorActionType>? actions}) → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

transformRequestToRest(NodeSpec action, ActionContext context) → Map?