RoboDirective constructor

const RoboDirective({
  1. required Input<RoboDirectiveActionType> actionType,
  2. Input<String>? inputText,
  3. required Input<String> resourceName,
})

Creates a new RoboDirective. 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

Implementation

const RoboDirective({
  required this.actionType,
  this.inputText,
  required this.resourceName,
});