ScanResults constructor

ScanResults({
  1. required List<String> dataUrls,
  2. required String mimeType,
})

Implementation

ScanResults({
  /// An array of data image URLs in a form that can be passed as the "src"
  /// value to an image tag.
  required List<String> dataUrls,

  /// The MIME type of the `dataUrls`.
  required String mimeType,
}) : _wrapped = $js.ScanResults(
        dataUrls: dataUrls.toJSArray((e) => e.toJS),
        mimeType: mimeType,
      );