create method
create file
Implementation
Future<void> create() async {
File file = File(replaceAsExpected(path: path));
if (!await file.exists() || overwrite) {
await file.create(recursive: true);
await file.writeAsString(content);
LogService.success(basename(path) + ' created');
}
}