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