encoding property
encode algorithms Gets the encoding algorithm name (e.g., 'base64').
Implementation
@override
String? get encoding {
var uri = dataUri;
if (uri == null) {
assert(false, 'data uri error');
return null;
} else if (uri.isBase64) {
return EncodeAlgorithms.BASE_64;
}
// plaintext
return '';
}