WxScanWebPaths class

Where the browser build's three files are served from.

Constructors

WxScanWebPaths({String workerUrl = 'wxscan/wxscan_worker.js', String wasmUrl = 'wxscan/wxscan_wasm.wasm', String tfliteUrl = './wxscan_tflite.js'})
The defaults put all four files in web/wxscan/.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tfliteUrl → String
The inference host's loader, relative to the worker script, since the worker is what imports it. It fetches wxscan_tflite.wasm from its own directory, which therefore needs no URL of its own.
final
wasmUrl → String
The scanner module, relative to the page.
final
workerUrl → String
The worker script, relative to the page.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited