copyWith method

ScanConfidence copyWith({
  1. double? overall,
  2. double? wallAccuracy,
})

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,
  );
}