thumbnailMxcUrl property

Uri? thumbnailMxcUrl

Gets the underlying mxc url of a thumbnail of a file event, or null if not present

Implementation

Uri? get thumbnailMxcUrl {
  final url = isThumbnailEncrypted
      ? infoMap['thumbnail_file']['url']
      : infoMap['thumbnail_url'];
  return url is String ? Uri.tryParse(url) : null;
}