getTotalMemory static method

int getTotalMemory()

Returns the total system memory available to the device.

Returns

  • The total system memory in bytes.

See also:

Implementation

static int getTotalMemory() {
  final OperationResult resultString = staticMethod(
    'Debug',
    'getTotalMemory',
  );
  return resultString['result'];
}