copyWith method

DeviceResourceAuditCompanion copyWith({
  1. Value<int>? id,
  2. Value<DateTime>? createdAt,
  3. Value<double>? cpuUsage,
  4. Value<double>? ramInMB,
  5. Value<double>? freeRamInMB,
  6. Value<double>? storageInMB,
  7. Value<double>? freeStorageInMB,
})

Implementation

DeviceResourceAuditCompanion copyWith(
    {Value<int>? id,
    Value<DateTime>? createdAt,
    Value<double>? cpuUsage,
    Value<double>? ramInMB,
    Value<double>? freeRamInMB,
    Value<double>? storageInMB,
    Value<double>? freeStorageInMB}) {
  return DeviceResourceAuditCompanion(
    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,
  );
}