Dart Matcher Best Practices When to use this skill Use this skill when: - Writing assertions using and . - Migrating legacy manual checks to cleaner matchers. - Debugging confusing test failures. Discovery To find candidates for improving matcher usage, search for suboptimal patterns: Suboptimal Length Checks Search for length checks that should use : - Regex : Suboptimal Boolean Checks Search for checks on boolean properties that have specific matchers: - Regex : - Regex : - Regex : Suboptimal Map Lookups Search for manual map lookups instead of : - Regex : Core Matchers 1. Collections ( , ,…