DetectedBarcode constructor
DetectedBarcode({
- required DOMRectReadOnly boundingBox,
- required String rawValue,
- required BarcodeFormat format,
- required Iterable<
Point2D> cornerPoints,
Implementation
factory DetectedBarcode(
{required DOMRectReadOnly boundingBox,
required String rawValue,
required BarcodeFormat format,
required Iterable<Point2D> cornerPoints}) =>
DetectedBarcode._(
boundingBox: boundingBox,
rawValue: rawValue,
format: format.value,
cornerPoints: cornerPoints);