readViewFromStream abstract method Null safety

Future<void> readViewFromStream(
  1. GpsPointsView<GpsPoint> view,
  2. StreamReaderState source,
  3. int version,
  4. ByteData metadata

Overwrites the contents of view (if it is not read-only) with the information fom the source. version and metadata indicate the additional information that was read from the block header in the file, and may be used to e.g. convert old formats to new.


Future<void> readViewFromStream(GpsPointsView view, StreamReaderState source,
    int version, ByteData metadata);