uriForFeatures method
Returns the uri for the wasm file based on the supported features from wasmRuntimeFeatures.
Either threadsSimdUri, simdUri, or uri if the features are not supported.
Implementation
Uri uriForFeatures(WasmRuntimeFeatures features) {
final f = features.supportedFeatures;
final value = f.threads && f.simd && threadsSimdUri != null
? threadsSimdUri!
: f.simd && simdUri != null
? simdUri!
: uri;
return value;
}