deleteIfExistsSync method
Synchronously deletes the file if it exists.
Implementation
void deleteIfExistsSync({bool recursive = false}) {
if (existsSync()) deleteSync(recursive: recursive);
}
Synchronously deletes the file if it exists.
void deleteIfExistsSync({bool recursive = false}) {
if (existsSync()) deleteSync(recursive: recursive);
}