ElementLocator class
A semantic or structural description of an element in the current view.
Constructors
- ElementLocator({String? id, Object? text, String? label, String? role, ElementLocator? within, int? occurrence, ElementBounds? bounds})
-
const
-
ElementLocator.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bounds → ElementBounds?
-
final
- exactText → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- isEmpty → bool
-
no setter
- label → String?
-
final
- occurrence → int?
-
final
- role → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → Object?
-
A string for an exact match, or a list of accepted strings.
final
- within → ElementLocator?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited