Diff class final
Represents a diff between two arrays.
Create a diff between arrays of QueryResultItems using a Differ.
- Annotations
-
- @external
Constructors
Properties
-
deletions
→ Set<
int> -
The set of indexes in the old array at which items were deleted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
insertions
→ Set<
int> -
The set of indexes in the new array at which items were inserted.
final
-
moves
→ Set<
DiffMove> -
A set of DiffMoves, each representing a move of an item
froma particular index in the old arraytoa particular index in the new array.final -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited -
updates
→ Set<
int> -
The set of indexes in the new array at which items have been updated.
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