MemorySnapshot class

A point-in-time view of system memory.

Constructors

MemorySnapshot({required int totalBytes, required int availableBytes, int? appFootprintBytes, bool isEstimated = false})
Creates a snapshot.
const

Properties

appFootprintBytes → int?
This process's physical footprint, when the platform reports it.
final
availableBytes → int
Memory the app could still allocate without pressuring the system.
final
hashCode → int
The hash code for this object.
no setterinherited
isEstimated → bool
True when the values are fixed fallbacks (web, unsupported platforms) rather than measurements.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalBytes → int
Physical memory installed on the device.
final

Methods

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

Operators

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