MethodChannelLargeFileHandler class

An implementation of LargeFileHandlerPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
progressChannel EventChannel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyAssetToLocalStorage(String assetName, String targetName) Future<void>
Copies the asset assetName to targetName on the local file system.
override
copyAssetToLocalStorageWithProgress(String assetName, String targetName) Stream<int>
Copies the asset assetName to targetName, emitting copy progress as integers from 0 to 100.
override
copyUrlToLocalStorage(String url, String targetName) Future<void>
Downloads the file at url to targetName on the local file system.
override
copyUrlToLocalStorageWithProgress(String url, String targetName) Stream<int>
Downloads the file at url to targetName, emitting download progress as integers from 0 to 100.
override
fileExists(String targetName) Future<bool>
Returns whether a file already exists at targetPath.
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