ScanConfidence class

Represents the confidence levels of various aspects of the scan.

Confidence values range from 0.0 (low) to 1.0 (high).

Constructors

ScanConfidence.new({required double overall, required double wallAccuracy, required double dimensionAccuracy, List<String> warnings = const []})
Creates a ScanConfidence object.
const
ScanConfidence.fromJson(Map<String, dynamic> json)
Creates a ScanConfidence from a JSON map.
factory

Properties

dimensionAccuracy double
The confidence in the accuracy of the dimensional measurements.
final
hashCode int
The hash code for this object.
no setteroverride
overall double
The overall confidence in the quality of the entire scan.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wallAccuracy double
The confidence in the accuracy of the detected wall surfaces.
final
warnings List<String>
A list of warnings or issues encountered during the scan that may affect quality. (Not yet implemented in the native layer).
final

Methods

copyWith({double? overall, double? wallAccuracy, double? dimensionAccuracy, List<String>? warnings}) ScanConfidence
Creates a copy of this confidence with modified values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this ScanConfidence to a JSON map.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override