startTorrents method Null safety

Future<void> startTorrents(
  1. List<int> ids
)

Start torrents by given ids ids integer identifier list of the torrents to remove Throws TransmissionException if errors

Implementation

Future<void> startTorrents(List<int> ids) async {
  final results = await _dio.post('/',
      data: _Request(methodStartTorrent, arguments: {
        'ids': ids,
      }).toJSON());
  _checkResults(_Response.fromJSON(results.data));
}