open static method
Opens file for reading. Call close to release the file handle.
Implementation
static FileByteSource open(File file) {
final raf = file.openSync();
return FileByteSource._(raf, raf.lengthSync());
}
Opens file for reading. Call close to release the file handle.
static FileByteSource open(File file) {
final raf = file.openSync();
return FileByteSource._(raf, raf.lengthSync());
}