Write clearer Dart with expressive patterns.
Dart development
Applies Dart 3 pattern matching, switch expressions, and destructuring to validate data and decompose control flow.
When to use it
Use it when refactoring complex conditionals, parsing polymorphic JSON or API responses, destructuring data, or enforcing sealed-class exhaustiveness.
It shapes how the agent implements Dart pattern matching in a project by selecting constructs, applying patterns and guards, and checking exhaustiveness and runtime map behavior.
What you provide
No additional actions listed in the analysis.
The dart analyze command must be available to check exhaustiveness and dead code.