ScanOptions constructor

ScanOptions({
  1. List<String>? mimeTypes,
  2. int? maxImages,
})

Implementation

ScanOptions({
  /// The MIME types that are accepted by the caller.
  List<String>? mimeTypes,

  /// The number of scanned images allowed (defaults to 1).
  int? maxImages,
}) : _wrapped = $js.ScanOptions(
        mimeTypes: mimeTypes?.toJSArray((e) => e),
        maxImages: maxImages,
      );