Refactor Dart Dot Shorthands

Refactor Dart code to use modern language features, specifically dot shorthands (member access shorthands) introduced in Dart 3.7. Use this when you want to make code more concise by removing redundant type names in enum or static member access when the context type is known.

dart-lang Updated

File contents

dart-lang/native/tree/main/.agents/skills/refactor-dart-dot-shorthands commit 855581f3b7

Frequently asked questions

npx skillmds@latest add dart-lang/refactor-dart-dot-shorthands