copyWith method
Implementation
BatteryAuditCompanion copyWith(
{Value<int>? id,
Value<DateTime>? createdAt,
Value<int>? percentage,
Value<bool>? isCharging,
Value<BatteryAuditStatus>? status,
Value<int>? capacity,
Value<bool>? isScreenOn}) {
return BatteryAuditCompanion(
id: id ?? this.id,
createdAt: createdAt ?? this.createdAt,
percentage: percentage ?? this.percentage,
isCharging: isCharging ?? this.isCharging,
status: status ?? this.status,
capacity: capacity ?? this.capacity,
isScreenOn: isScreenOn ?? this.isScreenOn,
);
}