DefaultActionExecutor class final

Executes a given ServerAction.

The executeAction method takes a ServerAction as a parameter and performs the necessary operations to execute it. This is an abstract method that must be implemented by subclasses. It relies on the UIDriver to resolve the event associated with the action and perform the execution.

Implementations should handle different types of actions, such as TransportAction, by using switch cases or other control flow mechanisms.

This method is asynchronous and returns a Future that completes when the action execution is finished.

Inheritance
Annotations
  • @Deprecated("Will be removed in the next major release.")

Constructors

DefaultActionExecutor({required UIDriver driver, DebugLogger? logger})

Properties

driver UIDriver
finalinherited
hashCode int
The hash code for this object.
no setterinherited
logger DebugLogger?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeAction(ServerAction action) Future<ServerEvent?>
override
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