putDataURL method
Put an asset id
of value dataURL
.
Implementation
String? putDataURL(String id, DataURLBase64 dataURL) {
if (id.isEmpty) return null;
var blob = dataURLToBlob(dataURL);
return putBlob(id, blob);
}
Put an asset id
of value dataURL
.
String? putDataURL(String id, DataURLBase64 dataURL) {
if (id.isEmpty) return null;
var blob = dataURLToBlob(dataURL);
return putBlob(id, blob);
}