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({required double overall, required double wallAccuracy})
-
Creates a ScanConfidence object.
const
-
ScanConfidence.fromJson(Map<
String, dynamic> json) -
Creates a ScanConfidence from a JSON map.
factory
Properties
- 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
Methods
-
copyWith(
{double? overall, double? wallAccuracy}) → 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