Encodes this instances as String.
@override String encodeAsString() { return 'data:$mimeType;base64,${base64.encode(_data)}'; }