diff --git a/packages/espressocash_app/lib/utils/chunks.dart b/packages/espressocash_app/lib/utils/chunks.dart deleted file mode 100644 index f6eed24d2..000000000 --- a/packages/espressocash_app/lib/utils/chunks.dart +++ /dev/null @@ -1,17 +0,0 @@ -extension IterableX on Iterable { - Iterable> chunks(int size) sync* { - if (isEmpty) return; - - List chunk = []; - for (final element in this) { - chunk.add(element); - if (chunk.length == size) { - yield chunk; - chunk = []; - } - } - if (chunk.isNotEmpty) { - yield chunk; - } - } -}