How to enforce error on impossible switch case?
There is a linter we can enable for equality check. What about switch case ? This does not seem to work. /a/78736339/6727914
How to enforce error on impossible equality check?
There is a linter to it https://dart.dev/tools/linter-rules/unrelated_type_equality_checks but it just shows a warning, rendering it almost useless for large projects.