copyWith method
copyWith is the method to copy the class.
Implementation
SystemFiles copyWith({
SystemType? cpuInfo,
SystemType? hosts,
SystemType? memoryInfo,
}) {
return SystemFiles(
cpuInfo: cpuInfo ?? this.cpuInfo,
hosts: hosts ?? this.hosts,
memoryInfo: memoryInfo ?? this.memoryInfo,
);
}