MethodChannelDownloaderFlutter class
MethodChannelDownloaderFlutter MethodChannelDownloaderFlutter is a class extended from DownloaderFlutterPlatform This class responsible to communicate with native environment It hold the declaration for both method and event chanel
- Inheritance
-
- Object
- PlatformInterface
- DownloaderFlutterPlatform
- MethodChannelDownloaderFlutter
Constructors
Properties
-
downloadProgressStatus
↔ Stream<
Map< ?String, dynamic> > -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadMultipleFile(
{required List< String?> urls, required List<String> fileNames, required Function response, bool? saveToPhoto = false, bool? showToastAndroid = false}) → Future<String?> -
override
-
downloadProgress(
) → Stream< Map< String, dynamic> > -
override
-
downloadSingleFile(
{required String? url, required String fileName, required Function response, bool? saveToPhoto = false, bool? showToastAndroid = false}) → Future< String?> -
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
Constants
- downloadMultipleFileMethod → const String
- downloadMultipleFileMethodChannel → const MethodChannel
- downloadProgressEventChannel → const EventChannel
- downloadSingleFileMethod → const String
- downloadSingleFileMethodChannel → const MethodChannel