icon property
Web icon, usually base64 encoded image.
Implementation
@override
TransportableFile? get icon {
TransportableFile? img = _icon;
if (img == null) {
var uri = this['icon'];
img = TransportableFile.parse(uri);
_icon = img;
}
return img;
}
Implementation
@override
set icon(TransportableFile? img) {
remove('icon');
// this['icon'] = img?.serialize();
_icon = img;
}