wasmPaths property

Map<String, String>? wasmPaths
getter/setter pair

Currently wasm files are loading from the same directory where SDK is placed, but custom urls also supported (for example you can load it from CDNs) (Web only).

final paths = {
  'ort-wasm.wasm': 'url',
  'ort-wasm-simd.wasm': 'url',
  'ort-wasm-threaded.wasm': 'url',
  'ort-wasm-simd-threaded.wasm': 'url'
};

Implementation

Map<String, String>? wasmPaths;