TorrentAddFileInfo constructor

const TorrentAddFileInfo({
  1. String? filename,
  2. List<int>? metainfo,
})

Implementation

const TorrentAddFileInfo({this.filename, this.metainfo})
    : assert(!(filename == null && metainfo == null));