ScanResults constructor

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

Implementation

ScanResults({
  /// The 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 `dataUrls`.
  required String mimeType,
}) : _wrapped = $js.ScanResults(
        dataUrls: dataUrls.toJSArray((e) => e),
        mimeType: mimeType,
      );