split method

  1. @override
Stream<List<int>> split()

Returns a copy of body in cases where the stream must be read multiple times.

Implementation

@override
Stream<List<int>> split() {
  debugNumSplits++;
  return (_splitter ??= StreamSplitter(body)).split();
}