openRead method Null safety
Creates a new independent Stream for the contents of this file.
start is present, the file will be read from byte-offset
Otherwise from the beginning (index 0).
end is present, only bytes up to byte-index
end will be read.
Otherwise, until end of file.
In order to make sure that system resources are freed, the stream must be read to completion or the subscription on the stream must be cancelled.
Stream<List<int>> openRead([int? start, int? end]);