copyWith method
API Documentation for copyWith.
Implementation
LogConfig copyWith({
String? fileName,
bool? includeSensors,
bool? includeGPS,
int? intervalMs,
}) {
return LogConfig(
fileName: fileName ?? this.fileName,
includeSensors: includeSensors ?? this.includeSensors,
includeGPS: includeGPS ?? this.includeGPS,
intervalMs: intervalMs ?? this.intervalMs,
);
}