discontinuedPackage flutter_gemma has been discontinued and replaced by flutter_edge_ai.

WebDownloadService class

Stub implementation for non-web platforms

Implemented types

Constructors

WebDownloadService(dynamic fileSystem, dynamic jsInterop, dynamic blobUrlManager, dynamic cacheService)

Properties

cacheService → dynamic
no setter
hashCode → int
The hash code for this object.
no setterinherited
opfsService → dynamic
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

download(String url, String targetPath, {String? token, CancelToken? cancelToken}) → Future<void>
Downloads a file from URL to target path
override
downloadWithProgress(String url, String targetPath, {String? token, int maxRetries = 10, CancelToken? cancelToken, bool? foreground}) → Stream<int>
Downloads a file with progress tracking
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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