DetectionResult constructor
const
DetectionResult({
- required ScanMode mode,
- required String detectorName,
- bool hasContent = false,
- String rawText = '',
- double confidence = 0.0,
- List<
BarcodeResult> barcodes = const [], - List<
Rect> boundingBoxes = const [], - List<
List< cornerSets = const [],Offset> > - Map<
String, dynamic> metadata = const {}, - Duration detectionTime = Duration.zero,
Implementation
const DetectionResult({
required this.mode,
required this.detectorName,
this.hasContent = false,
this.rawText = '',
this.confidence = 0.0,
this.barcodes = const [],
this.boundingBoxes = const [],
this.cornerSets = const [],
this.metadata = const {},
this.detectionTime = Duration.zero,
});