MemoryStatisticsModel class
Model class representing memory statistics.
- Annotations
-
- @freezed
Constructors
- MemoryStatisticsModel({double? memoryUsageRatio, double? applicationMemory, double? wiredMemory, double? compressedMemory, double? memoryPressure})
-
Factory constructor for creating a new
MemoryStatisticsModelinstance.constfactory -
MemoryStatisticsModel.fromJson(Map<
String, dynamic> json) -
Factory method for creating a
MemoryStatisticsModelfrom a JSON object.factory
Properties
- applicationMemory → double?
-
The amount of application memory used in bytes.
no setterinherited
- compressedMemory → double?
-
The amount of compressed memory used in bytes.
no setterinherited
-
copyWith
→ $MemoryStatisticsModelCopyWith<
MemoryStatisticsModel> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- memoryPressure → double?
-
The memory pressure level.
no setterinherited
- memoryUsageRatio → double?
-
The ratio of memory usage as a percentage of total physical memory.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wiredMemory → double?
-
The amount of wired memory used in bytes.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited