collection_diff library

Classes

Diff<E>
Diffable
Used when the objects being compared can pass safely across isolate boundaries. If the object being compared cannot safely cross isolate boundaries, then use DiffDelegate instead.
DiffableEquality
A specialized DiffEquality implementation that checks whether either object is Diffable and uses the delegate check. If neither instance is Diffable, a fallback Equality is used
DiffArguments<E>
DiffDelegate
DiffEquality
Dart makes it difficult to pass function pointers across isolates. DiffEquality provides a concrete implementation of equality comparators that can be used safely across isolate boundaries.
DiffNode
Diffs<E, D extends Diff<E>>
EqualityFromDiffable
Equality implementation based on diffables.
MyersDiff
NullKey
PathNode
Row<E>
SetDiff<E>
SetDiffArguments<E>
SetDiffs<E>
Snake
UpdateDiff<E>
WagnerFischerDiff

Mixins

DiffableMixin
Mixin that converts an entity to diffable by using the existing hashCode and equals methods
DiffDelegateMixin
Mixin that converts an entity to DiffDelegate by using the existing hashCode and equals methods

Properties

nullDelegate DiffDelegate
final

Functions

diffExtensions() → void
preprocessListDiff<T>(ListDiffArguments<T> args) ListDiffs<T>?
Looks for empty lists, which may signal an easier diff operation
preprocessSetDiff<T>(SetDiffArguments<T> args) SetDiffs<T>?