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