checkIfLargeFile static method
Implementation
static bool checkIfLargeFile(String path) {
try {
final fileSizeInBytes = File(path).lengthSync();
return fileSizeInBytes > UFUtils.maxAllowedFileSize;
} catch (e) {
return false;
}
}