write method
Prints the target path and file contents instead of writing to disk.
Implementation
@override
/// Prints the target path and file contents instead of writing to disk.
Future<void> write(GeneratedFile file) async {
logger
..write('Would write: ${file.path}\n')
..write(file.content);
}