putContent method
Put an asset id
of value content
and mimeType
.
Implementation
String? putContent(String id, String content, MimeType mimeType) {
if (isEmptyString(id)) return null;
var blob = Blob([content], mimeType.toString());
return putBlob(id, blob);
}