Skip to main content
dart-use-pattern-matchingby DartOfficialDevelopmentGitHub stars: 509

Dart Use Pattern Matching skill: what it does and how to install it

Applies Dart 3 pattern matching, switch expressions and destructuring to replace complex if-else chains.

Install

$ npx skills add dart-lang/skills --skill dart-use-pattern-matching

Run it in a terminal. If your agent is already running, start a new session so it picks the skill up.

About this skill

Applies Dart 3 pattern matching, switch expressions and destructuring to replace complex if-else chains.

Similar skills