XdgThumbnail constructor
XdgThumbnail(
- Uri file
Implementation
XdgThumbnail(
/// the [Uri] of the file you want to get a thumbnail from
Uri file,
) {
_source = file;
final codec = Utf8Codec();
_thumbnailHash =
md5.convert(codec.encode(_source.toString())).toString().toLowerCase();
}