getFreeRam method

Future<int> getFreeRam()

Returns available physical RAM in bytes.

Implementation

Future<int> getFreeRam() async {
  return await _channel.invokeMethod('info.getFreeRam') ?? 0;
}