refactor: Enable rule avoid dynamic

This commit is contained in:
Christian Kußowski 2026-02-19 08:42:35 +01:00
commit 9d007815df
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
17 changed files with 41 additions and 35 deletions

View file

@ -43,7 +43,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
try {
final fileSize = widget.event.content
.tryGetMap<String, dynamic>('info')
.tryGetMap<String, Object?>('info')
?.tryGet<int>('size');
final videoFile = await widget.event.downloadAndDecryptAttachment(
onDownloadProgress: fileSize == null