toRpcJson method
Implementation
JsonMap toRpcJson() => filename != null
? {TorrentAddArgument.filename.argName: filename}
: {TorrentAddArgument.metainfo.argName: base64Encode(metainfo!)};
JsonMap toRpcJson() => filename != null
? {TorrentAddArgument.filename.argName: filename}
: {TorrentAddArgument.metainfo.argName: base64Encode(metainfo!)};