Action class abstract
An action is a piece of code that can be executed by the driver. It can be used to perform a specific action on the app, like tapping a button or scrolling a list.
Actions are defined in the actions
section of the DriverConfiguration
.
They are immutable as they are created from the steps in a UserFlowYaml
file.
- Implementers
- Annotations
Constructors
- Action()
-
An action is a piece of code that can be executed by the driver. It can be
used to perform a specific action on the app, like tapping a button or
scrolling a list.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
description(
) → String - A human readable description of the action.
-
execute(
Tester tester) → Future< bool> - Called when it executes the action in a flow file.
-
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