withCallback<E> static method
Implementation
static Future<List<Diff>> withCallback<E>(
DiffCallback<E?> cb, {
bool? spawnIsolate,
}) {
return diff<E?>(
cb.newList!,
cb.oldList!,
areItemsTheSame: cb.areItemsTheSame,
spawnIsolate: spawnIsolate,
);
}