copyWith method
Creates a copy of this confidence with modified values.
Implementation
ScanConfidence copyWith({
double? overall,
double? wallAccuracy,
}) {
return ScanConfidence(
overall: overall ?? this.overall,
wallAccuracy: wallAccuracy ?? this.wallAccuracy,
);
}