Settings constructor
Settings({
- required int added,
- required List<
String> permissions, - required int sizeFilesOptional,
- required int sizeOptional,
- required bool serving,
- required Cache cache,
- required int optionalDownloaded,
- required bool own,
- String? ajaxKey,
- int? downloaded,
- int? size,
- int? sizeLimit,
- String? autodownloadoptional,
- num? modified,
Implementation
Settings({
required this.added,
required this.permissions,
required this.sizeFilesOptional,
required this.sizeOptional,
required this.serving,
required this.cache,
required this.optionalDownloaded,
required this.own,
this.ajaxKey,
this.downloaded,
this.size,
this.sizeLimit,
this.autodownloadoptional,
this.modified,
//
// this.bytesRecv,
// this.bytesSent,
// this.peers,
}) {
downloaded ??= added;
}