MobileElementIndex class final

The filtered element index of one screen observation.

Constructors

MobileElementIndex({required String packageName, required List<MobileElement> elements, bool truncated = false})
const

Properties

elements → List<MobileElement>
Kept elements in document order (ids e1..eN are positions here).
final
hashCode → int
The hash code for this object.
no setterinherited
packageName → String
Package of the foreground window the index was taken from.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
truncated → bool
true when the raw hierarchy was truncated (element cap hit).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render() → String
Renders the compact numbered index the model reads: [e12] Button "OK" id=… bounds=[40,1200][200,1260] center=(120,1230) clickable.
toString() → String
A string representation of this object.
inherited

Operators

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