register method
Registers analysis rules, quick fixes, and assists.
Implementation
@override
Future<void> register(PluginRegistry registry) async {
registry.registerWarningRule(PreferShorthandsRule());
registry.registerFixForRule(
PreferShorthandsRule.code,
ConvertToShorthand.new,
);
}