BarcodeDetectorOptions constructor

BarcodeDetectorOptions({
  1. Iterable<BarcodeFormat>? formats,
})

Implementation

factory BarcodeDetectorOptions({Iterable<BarcodeFormat>? formats}) =>
    BarcodeDetectorOptions._(
        formats: formats?.map((e) => e.value) ?? undefined);