OnDevice class

Scopes a group of steps to a single device in a composite test. The alias must match a Device.alias declared in the enclosing @ProbeCompositeTest.devices.

Emits an <alias>: header followed by the indented step body. Multiple OnDevice entries for the same alias accumulate, separated by Sync barriers.

Inheritance

Constructors

OnDevice(String alias, {List<Step> steps = const []})
const

Properties

alias → String
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
steps → List<Step>
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