DynamicAction class

Represents a single dynamic action (navigate, api_call, or action_group).

Constructors

DynamicAction.actionGroup({required ActionExecutionMode executionMode, required List<DynamicAction> actions})
Create an action group (sequential or parallel).
factory
DynamicAction.apiCall({required String url, ApiMethod method = ApiMethod.get, Map<String, String>? headers, dynamic body, String? bindTo})
Create an API call action.
factory
DynamicAction.navigate({required String route, Map<String, dynamic>? arguments})
Create a navigate action.
factory

Properties

actions → List<DynamicAction>
final
arguments → Map<String, dynamic>?
final
bindTo → String?
final
body → dynamic
final
executionMode → ActionExecutionMode
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>?
final
method → ApiMethod
final
route → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ActionType
final
url → String?
final

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