openOpfsBytesFileTyped function

Future<WebOpfsBytesFile> openOpfsBytesFileTyped(
  1. String path, {
  2. bool create = true,
  3. bool readOnly = false,
  4. int chunkSize = kDefaultChunkSize,
  5. int? workers,
})

Opener with the concrete WebOpfsBytesFile type (for diagnostics such as WebOpfsBytesFile.debugPhysicalChunkSize).

Implementation

Future<WebOpfsBytesFile> openOpfsBytesFileTyped(
  String path, {
  bool create = true,
  bool readOnly = false,
  int chunkSize = kDefaultChunkSize,
  int? workers,
}) {
  return WebOpfsBytesFile.open(
    path,
    create: create,
    readOnly: readOnly,
    chunkSize: chunkSize,
    workers: workers,
  );
}