checkFileExists function
Implementation
void checkFileExists(String file) {
if (!File(file).existsSync()) {
Console.setTextColor(Color.RED.id);
Console.write("$file not found\n");
exit(-1);
}
}
void checkFileExists(String file) {
if (!File(file).existsSync()) {
Console.setTextColor(Color.RED.id);
Console.write("$file not found\n");
exit(-1);
}
}