putBlob method
Put an asset id
of value blob
.
Implementation
String? putBlob(String id, Blob blob) {
if (id.isEmpty) return null;
var objURL = Url.createObjectUrlFromBlob(blob);
_assets[id] = _AssetObjectURL(objURL, MimeType.parse(blob.type));
return objURL;
}