SysStats class

Inheritance

Constructors

SysStats([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
cpuAppUsage FutureOr<double?>
@brief The CPU usage of the application, the value range is 0,1.
getter/setter pair
cpuCores FutureOr<int?>
@brief Device CPU cores
getter/setter pair
cpuTotalUsage FutureOr<double?>
@brief The CPU usage of the system, the value range is 0,1.
getter/setter pair
freeMemory FutureOr<long?>
@brief System current free memory (in MB)
getter/setter pair
fullMemory FutureOr<long?>
@brief Device memory size unit: MB
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
memoryRatio FutureOr<double?>
@brief Memory usage of the current application (in %)
getter/setter pair
memoryUsage FutureOr<double?>
@brief Application's memory occupancy in MB
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalMemoryRatio FutureOr<double?>
@brief System memory usage (in %)
getter/setter pair
totalMemoryUsage FutureOr<long?>
@brief System used memory (in MB)
getter/setter pair

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

codegen_$namespace → dynamic
no setter