fileError function
Implementation
fileError(String fileName) {
if (!File(fileName).existsSync()) {
throw ArgumentError('File not found');
}
}
fileError(String fileName) {
if (!File(fileName).existsSync()) {
throw ArgumentError('File not found');
}
}