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 fallbackEquality
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
Enums
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
Extensions
- DiffableExtension on DiffDelegate?
-
DiffArgumentsExtension
on DiffArguments<
E> - DiffEqualityExtension on DiffEquality
-
ListDiffExt
on ListDiff<
E> -
ListDiffExtensions
on List<
E> -
ListDiffItemExt
on InsertDiff<
E> -
ListDiffsExt
on ListDiffs<
E> -
MapDiffExtensions
on Map<
K, V> -
SetDiffExt
on SetDiff<
E> -
SetDiffExtensions
on Set<
E> -
StreamOfListDiffsExtensions
on Stream<
ListDiffs< T> >
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> ?