$getQuantizeServiceActivator function

EntryPoint $getQuantizeServiceActivator(
  1. SquadronPlatformType platform
)

Implementation

EntryPoint $getQuantizeServiceActivator(SquadronPlatformType platform) {
  if (platform.isJs) {
    return Squadron.uri('lib/extract/service/quantize_service.web.g.dart.js');
  } else if (platform.isWasm) {
    return Squadron.uri('lib/extract/service/quantize_service.web.g.dart.wasm');
  } else {
    throw UnsupportedError('${platform.label} not supported.');
  }
}