RoboDirectiveResponse class

Directs Robo to interact with a specific UI element if it is encountered during the crawl. Currently, Robo can perform text entry or element click.

Constructors

RoboDirectiveResponse({required Input<String> actionType, required Input<String> inputText, required Input<String> resourceName})
Creates a new RoboDirectiveResponse. actionType The type of action that Robo should perform on the specified element. inputText The text that Robo is directed to set. If left empty, the directive will be treated as a CLICK on the element matching the resource_name. resourceName The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
const
RoboDirectiveResponse.fromMap(Map<String, dynamic> map)
factory

Properties

actionType → Input<String>
The type of action that Robo should perform on the specified element.
final
hashCode → int
The hash code for this object.
no setterinherited
inputText → Input<String>
The text that Robo is directed to set. If left empty, the directive will be treated as a CLICK on the element matching the resource_name.
final
resourceName → Input<String>
The android resource name of the target UI element. For example, in Java: R.string.foo in xml: @string/foo Only the "foo" part is needed. Reference doc: https://developer.android.com/guide/topics/resources/accessing-resources.html
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
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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