fromBlob static method
Creates a read-only file over blob.
cacheLimit is the largest Blob materialized into memory on first read;
use 0 to always read through slice(). Default 8 MiB.
Implementation
static WebBlobBytesFile fromBlob(JSObject blob, {int cacheLimit = 8 << 20}) {
if (cacheLimit < 0) throw RangeError.value(cacheLimit, 'cacheLimit');
return WebBlobBytesFile._(jsBlobFromObject(blob), cacheLimit);
}