copyWith method
Implementation
DeviceResourceAuditData copyWith(
{int? id,
DateTime? createdAt,
double? cpuUsage,
double? ramInMB,
double? freeRamInMB,
double? storageInMB,
double? freeStorageInMB}) =>
DeviceResourceAuditData(
id: id ?? this.id,
createdAt: createdAt ?? this.createdAt,
cpuUsage: cpuUsage ?? this.cpuUsage,
ramInMB: ramInMB ?? this.ramInMB,
freeRamInMB: freeRamInMB ?? this.freeRamInMB,
storageInMB: storageInMB ?? this.storageInMB,
freeStorageInMB: freeStorageInMB ?? this.freeStorageInMB,
);