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. The default is 1.
  int? maxImages,
}) : _wrapped = $js.ScanOptions(
        mimeTypes: mimeTypes?.toJSArray((e) => e.toJS),
        maxImages: maxImages,
      );