DiffResult<T> class
This class holds the information about the result of a calculateDiff call.
You can consume the updates in a DiffResult via dispatchUpdatesTo().
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPostponedUpdate(
List< _PostponedUpdate> postponedUpdates, int posInList, bool removal) → _PostponedUpdate? -
getUpdates(
{bool batch = true}) → Iterable< DiffUpdate> -
getUpdatesWithData(
) → Iterable< DataDiffUpdate< T> > -
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
Constants
- FLAG_CHANGED → const int
- FLAG_MASK → const int
- FLAG_MOVED → const int
- FLAG_MOVED_CHANGED → const int
- FLAG_MOVED_NOT_CHANGED → const int
- FLAG_NOT_CHANGED → const int
- While reading the flags below, keep in mind that when multiple items move in a list, Myers's may pick any of them as the anchor item and consider that one NOT_CHANGED while picking others as additions and removals. This is completely fine as we later detect all moves.
- FLAG_OFFSET → const int