TorrentId constructor

const TorrentId({
  1. String? hashStr,
  2. int? id,
})

Implementation

const TorrentId({this.hashStr, this.id})
    : assert(!(hashStr == null && id == null));