thumbnail property
Thumbnail preview of the image (Base64 encoded).
Used for quick preview without downloading the full image file.
Implementation
@override
TransportableFile? get thumbnail {
TransportableFile? img = _thumbnail;
if (img == null) {
var uri = this['thumbnail'];
img = TransportableFile.parse(uri);
_thumbnail = img;
}
return img;
}
Implementation
@override
set thumbnail(TransportableFile? img) {
remove('thumbnail');
// this['thumbnail'] = img?.serialize();
_thumbnail = img;
}