reset method Null safety

  1. @override
void reset ()
override

Reset to the beginning of the stream.

Implementation

@override
void reset() {
  offset = start;
}