home/categories/ide-plugins/dart-lang-native-agents-skills-refactor-dart-dot-shorthands-skill-md
ide-pluginstools

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
maintainer
dart-lang
更新於 2/27/2026
星標
263
分支
114
quick start

Installation and usage

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.

安裝
$ install --globalskills.sh
使用

安裝後,您可以通過在終端運行以下命令來使用此技能:

skills use refactor-dart-dot-shorthands