ScanResult class
Represents the final result of a successful room scan.
Constructors
- ScanResult.new({required RoomData room, required ScanMetadata metadata, required ScanConfidence confidence})
-
Creates a ScanResult object.
const
-
ScanResult.fromJson(Map<
String, dynamic> json) -
Creates a ScanResult from a JSON map.
factory
Properties
- confidence → ScanConfidence
-
Confidence levels for various aspects of the scan.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- metadata → ScanMetadata
-
Metadata associated with the scanning session.
final
- room → RoomData
-
The structured data of the scanned room, including walls and objects.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{RoomData? room, ScanMetadata? metadata, ScanConfidence? confidence}) → ScanResult - Creates a copy of this scan result with modified values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this ScanResult to a JSON map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override