open static method

FileByteSource open(
  1. File file
)

Implementation

static FileByteSource open(File file) {
  final raf = file.openSync();
  return FileByteSource._(raf, raf.lengthSync());
}