UiDiff class
Result of comparing two UiSnapshots.
Constructors
-
UiDiff({required String screen, required DateTime? oldCapturedAt, required DateTime newCapturedAt, required List<
UiNodeAdded> added, required List<String> removed, required List<UiNodeUpdate> updated, required List<UiNodeMove> moved, required List<UiVisibilityChange> visibilityChanged}) -
const
Properties
-
added
→ List<
UiNodeAdded> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBaseline → bool
-
True when there was no prior snapshot or the screen changed — the backend
should treat this as a fresh full tree, not a delta against whatever it
had cached.
no setter
- isEmpty → bool
-
no setter
-
moved
→ List<
UiNodeMove> -
final
- newCapturedAt → DateTime
-
final
- oldCapturedAt → DateTime?
-
final
-
removed
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → String
-
final
- totalChanges → int
-
no setter
-
updated
→ List<
UiNodeUpdate> -
final
-
visibilityChanged
→ List<
UiVisibilityChange> -
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
-
toWire(
) → Map< String, dynamic>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited