openOpfsBytesFileTyped function
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,
);
}