save method
Saves the generated code to the given outputDirectory
.
Implementation
void save(String outputDirectory) {
final dir = Directory(outputDirectory)..createSync(recursive: true);
_save(output, to: '${dir.path}/tokens.g.dart');
_save(extra, to: '${dir.path}/tokens_extra.g.dart');
}