refactor: Enable rule avoid dynamic
This commit is contained in:
parent
298a2d0760
commit
9d007815df
17 changed files with 41 additions and 35 deletions
|
|
@ -26,7 +26,7 @@ class MessageReactions extends StatelessWidget {
|
|||
|
||||
for (final e in allReactionEvents) {
|
||||
final key = e.content
|
||||
.tryGetMap<String, dynamic>('m.relates_to')
|
||||
.tryGetMap<String, Object?>('m.relates_to')
|
||||
?.tryGet<String>('key');
|
||||
if (key != null) {
|
||||
if (!reactionMap.containsKey(key)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue