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 => 'if (status == 5) { }';