MethodChannelDartTorrentHandler class
An implementation of DartTorrentHandlerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DartTorrentHandlerPlatform
- MethodChannelDartTorrentHandler
Constructors
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
-
getFiles(
) → Future< List< String> > -
Gets the list of files in the torrent.
override
-
init(
) → Future< void> -
Initializes the torrent handler.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
String magnetUrl, String downloadPath) → Future< String> -
Starts downloading a torrent from a magnet URL.
Returns the base path where files are downloaded.
override
-
stop(
) → Future< void> -
Stops the torrent download.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited