addTorrent method

  1. @override
Future<String> addTorrent(
  1. String torrentFile, {
  2. List<String>? webseedUris,
  3. Map<String, String>? options,
  4. int position = -1,
})
override

Implementation

@override
Future<String> addTorrent(
  String torrentFile, {
  List<String>? webseedUris,
  Map<String, String>? options,
  int position = -1,
}) async {
  final result = await _invokeRequired<String>('addTorrent', {
    'torrentFile': torrentFile,
    'webseedUris': webseedUris,
    'options': options,
    'position': position,
  });
  return result;
}