InsertAllCallback<T> typedef

InsertAllCallback<T> = void Function(List<T> currentItems, Iterable<T> newItems)

Signature for a callback function that is called when items are inserted.

Implementation

typedef InsertAllCallback<T> =
    void Function(List<T> currentItems, Iterable<T> newItems);