ScanMetadata class

Contains metadata about the scanning session.

Constructors

ScanMetadata({required DateTime scanDate, required Duration scanDuration, required String deviceModel, required bool hasLidar})
Creates a ScanMetadata object.
const
ScanMetadata.fromJson(Map<String, dynamic> json)
Creates a ScanMetadata from a JSON map.
factory

Properties

deviceModel → String
The model of the device used for the scan (e.g., "iPhone14,3").
final
hashCode → int
The hash code for this object.
no setteroverride
hasLidar → bool
Indicates whether the device has a LiDAR sensor, which affects accuracy.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scanDate → DateTime
The date and time when the scan was initiated.
final
scanDuration → Duration
The total duration of the scanning process.
final

Methods

copyWith({DateTime? scanDate, Duration? scanDuration, String? deviceModel, bool? hasLidar}) → ScanMetadata
Creates a copy of this metadata with modified values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this ScanMetadata to a JSON map.
toString() → String
A string representation of this object.
override

Operators

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