Dart package to talk to a Transmission torrent instance, for a flutter package including UI widget please check transmission
Create an instance of Transmission, you can then use it in any data state management you want (bloc, provider, mobx...)
final transmission = Transmission(
baseUrl: 'http://192.168.1.35:9091/transmission/rpc',
enableLog: true,
);By default baseUrl uses http://localhost:9091/transmission/rpc.
Once you have that you can simply interact with transmission's data like torrents or settings.
final torrents = await transmission.getTorrents();
print(torrents);await transmission.addTorrent(filename: 'https://myUrlMagnet');final torrents = await transmission.getTorrents();
await transmission.startTorrents([torrents.first.id]);final torrents = await transmission.getTorrents();
await transmission.stopTorrents([torrents.first.id]);final torrents = await transmission.getTorrents();
await transmission.removeTorrents([torrents.first.id]);