VeryGoodOpenSource / very_good_analysis

Lint rules for Dart and Flutter used internally at Very Good Ventures 🦄
https://pub.dev/packages/very_good_analysis
MIT License
369 stars 38 forks source link

how to prevent error:"dynamic can not assign to xxx(type)" #94

Closed wangyang3-ola closed 1 year ago

wangyang3-ola commented 1 year ago

our project contains many code like this:

image

but this should not be wrong, is there a way to prevent show this error?