WebJsInterop class

JavaScript interop for web-specific download operations.

Provides authenticated fetch, blob creation, and URL management for downloading private models on the web platform.

Constructors

WebJsInterop.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fetchWithAuthAndCreateBlob(String url, String authToken, {required void onProgress(double progress)}) Future<String>
Fetches a file with authentication and creates a blob URL.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revokeBlobUrl(String blobUrl) → void
Revokes a blob URL to free memory.
toString() String
A string representation of this object.
inherited

Operators

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