isDeviceLowRam static method
Implementation
static Future<bool> isDeviceLowRam() async {
try {
final int memory = await SystemInfoPlus.physicalMemory ?? 5;
if (memory < LOW_RAM_THRESHOLD) {
return true;
}
return false;
} catch (error) {
return false;
}
}