open static method
Opens file for reading.
Implementation
static Future<FileByteSource> open(File file) async {
final raf = await file.open();
return FileByteSource._(raf, await raf.length());
}
Opens file for reading.
static Future<FileByteSource> open(File file) async {
final raf = await file.open();
return FileByteSource._(raf, await raf.length());
}