getGeneratedCodeWarning function
Warning printed at the top of all generated code.
Implementation
String getGeneratedCodeWarning() {
final String versionString =
includeVersionInGeneratedWarning ? ' (v$pigeonVersion)' : '';
return 'Autogenerated from Pigeon$versionString, do not edit directly.';
}