getUsedMemory static method

  1. @Deprecated('Use usedMemory getter instead')
int getUsedMemory()

Returns the memory currently used by the SDK engine.

Useful for monitoring memory consumption and detecting potential memory leaks during development.

Returns

  • The memory used by the engine in bytes.

See also:

Implementation

@Deprecated('Use usedMemory getter instead')
static int getUsedMemory() {
  final OperationResult resultString = staticMethod('Debug', 'getUsedMemory');
  return resultString['result'];
}