create static method
Creates a builder backed by ScWasmIsolateBridge, loading sc.wasm from
the package bundle. WASM parsing and transaction processing run outside
the caller's isolate. No native library is required.
Flutter runtimes load the declared package asset automatically. A custom
wasmLoader can be supplied when an application overrides that asset.
This is the default and matches the long-standing behaviour; existing callers keep running unchanged.
Implementation
static Future<ScTransactionBuilder> create({ScWasmLoader? wasmLoader}) async {
final wasmBytes = await (wasmLoader ?? _loadPackageWasm)();
return ScTransactionBuilder._owned(
wasmBridge: ScWasmIsolateBridge(wasmBytes),
);
}