exampleGood property
Short code example of COMPLIANT code (shown in CLI walkthrough).
Override to provide a concise terminal-friendly snippet (2-5 lines max). Displayed alongside exampleBad during the interactive walkthrough.
Example:
@override
String? get exampleGood => "import '../utils.dart';";
Implementation
@override
String get exampleGood =>
'for (final x in list) { process(x); }\n'
'\n'
'doNext();';