list_diff library
Classes
Enums
Extensions
-
ApplyOperation
on List<
T>
Functions
-
diff<
Item> (List< Item> oldList, List<Item> newList, {bool? spawnIsolate, EqualityChecker<Item> ? areEqual, HashCodeGetter<Item> ? getHashCode}) → Future<List< Operation< >Item> > -
Calculates a minimal list of Operations that convert the
oldList
into thenewList
. -
diffSync<
Item> (List< Item> oldList, List<Item> newList, {EqualityChecker<Item> ? areEqual}) → List<Operation< Item> > -
Calculates a minimal list of Operations that convert the
oldList
into thenewList
.
Typedefs
-
EqualityChecker<
Item> = bool Function(Item a, Item b) -
HashCodeGetter<
Item> = int Function(Item a)