writeLibraryForwarder function
Generate an empty file just exporting the library. This is used to avoid a breaking change on file generation.
Implementation
String writeLibraryForwarder(LibraryDefinition definition) =>
'''// GENERATED CODE - DO NOT MODIFY BY HAND
export '${definition.basename}.dart';
''';