AndroidStorage class

Constructors

AndroidStorage({num? totalPssB, num? summaryJavaHeap, num? summaryNativeHeap, num? summaryCode, num? summaryStack, num? summaryGraphics, num? summaryPrivateOther, num? summarySystem, num? summaryTotalSwap, num? ramUseB, num? ramAllB, num? ramThreshold, num? ramAvailableB, bool? lowMemory, num? romUseB, num? romAllB, num? jvmUseB, num? jvmMaxB, num? jvmTotalB, num? jvmFreeB})

Properties

hashCode int
The hash code for this object.
no setterinherited
jvmFreeB num?
当前虚拟机已分配内存中未使用的部分
final
jvmMaxB num?
当前虚拟机可用的最大内存
final
jvmTotalB num?
当前虚拟机已分配的内存
final
jvmUseB num?
虚拟机已使用内存
final
lowMemory bool?
是否低内存
final
ramAllB num?
全部的ram容量,单位byte
final
ramAvailableB num?
设备空闲内存,ramAvailableB = ramAllB - ramUseB
final
ramThreshold num?
可用ram容量小于此值时,系统开始清理进程
final
ramUseB num?
已使用的ram,单位byte
final
romAllB num?
全部的rom容量,单位byte
final
romUseB num?
已使用的rom,单位byte
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
summaryCode num?
静态代码,资源内存
final
summaryGraphics num?
显存
final
summaryJavaHeap num?
summary开头字段都是Android 23 及以后能获取 java 内存
final
summaryNativeHeap num?
native 内存
final
summaryPrivateOther num?
其他私有内存
final
summaryStack num?
栈内存
final
summarySystem num?
系统内存
final
summaryTotalSwap num?
总 swap 内存
final
totalPssB num?
应用进程占内存总大小
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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