MetricsData constructor
MetricsData({})
Creates a new MetricsData instance.
cpuUsage: CPU usage as a percentage (nullable). memoryUsage: Memory usage in bytes. threadCount: Number of threads (nullable). timestamp: The time when the metrics were collected.
Implementation
MetricsData({
required this.cpuUsage,
required this.memoryUsage,
required this.timestamp,
this.threadCount,
});