FilePrinter constructor
- {required String filePath}
Implementation
FilePrinter({required this.filePath}) : super() {
_file = File(filePath);
if (_file.existsSync()) {
_file.deleteSync();
}
_file.createSync(recursive: true);
}
FilePrinter({required this.filePath}) : super() {
_file = File(filePath);
if (_file.existsSync()) {
_file.deleteSync();
}
_file.createSync(recursive: true);
}