// ignore_for_file: type=lint import 'dart:async'; import 'package:flutter/widgets.dart' as widgets; import 'package:gql/ast.dart'; import 'package:graphql/client.dart' as graphql; import 'package:graphql_flutter/graphql_flutter.dart' as graphql_flutter; class Variables$Query$TorrentTotalStats { factory Variables$Query$TorrentTotalStats({required DateTime since}) => Variables$Query$TorrentTotalStats._({ r'since': since, }); Variables$Query$TorrentTotalStats._(this._$data); factory Variables$Query$TorrentTotalStats.fromJson( Map data) { final result$data = {}; final l$since = data['since']; result$data['since'] = DateTime.parse((l$since as String)); return Variables$Query$TorrentTotalStats._(result$data); } Map _$data; DateTime get since => (_$data['since'] as DateTime); Map toJson() { final result$data = {}; final l$since = since; result$data['since'] = l$since.toIso8601String(); return result$data; } CopyWith$Variables$Query$TorrentTotalStats get copyWith => CopyWith$Variables$Query$TorrentTotalStats( this, (i) => i, ); @override bool operator ==(Object other) { if (identical(this, other)) { return true; } if (!(other is Variables$Query$TorrentTotalStats) || runtimeType != other.runtimeType) { return false; } final l$since = since; final lOther$since = other.since; if (l$since != lOther$since) { return false; } return true; } @override int get hashCode { final l$since = since; return Object.hashAll([l$since]); } } abstract class CopyWith$Variables$Query$TorrentTotalStats { factory CopyWith$Variables$Query$TorrentTotalStats( Variables$Query$TorrentTotalStats instance, TRes Function(Variables$Query$TorrentTotalStats) then, ) = _CopyWithImpl$Variables$Query$TorrentTotalStats; factory CopyWith$Variables$Query$TorrentTotalStats.stub(TRes res) = _CopyWithStubImpl$Variables$Query$TorrentTotalStats; TRes call({DateTime? since}); } class _CopyWithImpl$Variables$Query$TorrentTotalStats implements CopyWith$Variables$Query$TorrentTotalStats { _CopyWithImpl$Variables$Query$TorrentTotalStats( this._instance, this._then, ); final Variables$Query$TorrentTotalStats _instance; final TRes Function(Variables$Query$TorrentTotalStats) _then; static const _undefined = {}; TRes call({Object? since = _undefined}) => _then(Variables$Query$TorrentTotalStats._({ ..._instance._$data, if (since != _undefined && since != null) 'since': (since as DateTime), })); } class _CopyWithStubImpl$Variables$Query$TorrentTotalStats implements CopyWith$Variables$Query$TorrentTotalStats { _CopyWithStubImpl$Variables$Query$TorrentTotalStats(this._res); TRes _res; call({DateTime? since}) => _res; } class Query$TorrentTotalStats { Query$TorrentTotalStats({ this.torrentDaemon, this.$__typename = 'Query', }); factory Query$TorrentTotalStats.fromJson(Map json) { final l$torrentDaemon = json['torrentDaemon']; final l$$__typename = json['__typename']; return Query$TorrentTotalStats( torrentDaemon: l$torrentDaemon == null ? null : Query$TorrentTotalStats$torrentDaemon.fromJson( (l$torrentDaemon as Map)), $__typename: (l$$__typename as String), ); } final Query$TorrentTotalStats$torrentDaemon? torrentDaemon; final String $__typename; Map toJson() { final _resultData = {}; final l$torrentDaemon = torrentDaemon; _resultData['torrentDaemon'] = l$torrentDaemon?.toJson(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; } @override int get hashCode { final l$torrentDaemon = torrentDaemon; final l$$__typename = $__typename; return Object.hashAll([ l$torrentDaemon, l$$__typename, ]); } @override bool operator ==(Object other) { if (identical(this, other)) { return true; } if (!(other is Query$TorrentTotalStats) || runtimeType != other.runtimeType) { return false; } final l$torrentDaemon = torrentDaemon; final lOther$torrentDaemon = other.torrentDaemon; if (l$torrentDaemon != lOther$torrentDaemon) { return false; } final l$$__typename = $__typename; final lOther$$__typename = other.$__typename; if (l$$__typename != lOther$$__typename) { return false; } return true; } } extension UtilityExtension$Query$TorrentTotalStats on Query$TorrentTotalStats { CopyWith$Query$TorrentTotalStats get copyWith => CopyWith$Query$TorrentTotalStats( this, (i) => i, ); } abstract class CopyWith$Query$TorrentTotalStats { factory CopyWith$Query$TorrentTotalStats( Query$TorrentTotalStats instance, TRes Function(Query$TorrentTotalStats) then, ) = _CopyWithImpl$Query$TorrentTotalStats; factory CopyWith$Query$TorrentTotalStats.stub(TRes res) = _CopyWithStubImpl$Query$TorrentTotalStats; TRes call({ Query$TorrentTotalStats$torrentDaemon? torrentDaemon, String? $__typename, }); CopyWith$Query$TorrentTotalStats$torrentDaemon get torrentDaemon; } class _CopyWithImpl$Query$TorrentTotalStats implements CopyWith$Query$TorrentTotalStats { _CopyWithImpl$Query$TorrentTotalStats( this._instance, this._then, ); final Query$TorrentTotalStats _instance; final TRes Function(Query$TorrentTotalStats) _then; static const _undefined = {}; TRes call({ Object? torrentDaemon = _undefined, Object? $__typename = _undefined, }) => _then(Query$TorrentTotalStats( torrentDaemon: torrentDaemon == _undefined ? _instance.torrentDaemon : (torrentDaemon as Query$TorrentTotalStats$torrentDaemon?), $__typename: $__typename == _undefined || $__typename == null ? _instance.$__typename : ($__typename as String), )); CopyWith$Query$TorrentTotalStats$torrentDaemon get torrentDaemon { final local$torrentDaemon = _instance.torrentDaemon; return local$torrentDaemon == null ? CopyWith$Query$TorrentTotalStats$torrentDaemon.stub(_then(_instance)) : CopyWith$Query$TorrentTotalStats$torrentDaemon( local$torrentDaemon, (e) => call(torrentDaemon: e)); } } class _CopyWithStubImpl$Query$TorrentTotalStats implements CopyWith$Query$TorrentTotalStats { _CopyWithStubImpl$Query$TorrentTotalStats(this._res); TRes _res; call({ Query$TorrentTotalStats$torrentDaemon? torrentDaemon, String? $__typename, }) => _res; CopyWith$Query$TorrentTotalStats$torrentDaemon get torrentDaemon => CopyWith$Query$TorrentTotalStats$torrentDaemon.stub(_res); } const documentNodeQueryTorrentTotalStats = DocumentNode(definitions: [ OperationDefinitionNode( type: OperationType.query, name: NameNode(value: 'TorrentTotalStats'), variableDefinitions: [ VariableDefinitionNode( variable: VariableNode(name: NameNode(value: 'since')), type: NamedTypeNode( name: NameNode(value: 'DateTime'), isNonNull: true, ), defaultValue: DefaultValueNode(value: null), directives: [], ) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'torrentDaemon'), alias: null, arguments: [], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'statsHistory'), alias: null, arguments: [ ArgumentNode( name: NameNode(value: 'since'), value: VariableNode(name: NameNode(value: 'since')), ) ], directives: [], selectionSet: SelectionSetNode(selections: [ FieldNode( name: NameNode(value: 'timestamp'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( name: NameNode(value: 'downloadedBytes'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( name: NameNode(value: 'uploadedBytes'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( name: NameNode(value: 'totalPeers'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( name: NameNode(value: 'activePeers'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( name: NameNode(value: 'connectedSeeders'), alias: null, arguments: [], directives: [], selectionSet: null, ), FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null, ), ]), ), FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null, ), ]), ), FieldNode( name: NameNode(value: '__typename'), alias: null, arguments: [], directives: [], selectionSet: null, ), ]), ), ]); Query$TorrentTotalStats _parserFn$Query$TorrentTotalStats( Map data) => Query$TorrentTotalStats.fromJson(data); typedef OnQueryComplete$Query$TorrentTotalStats = FutureOr Function( Map?, Query$TorrentTotalStats?, ); class Options$Query$TorrentTotalStats extends graphql.QueryOptions { Options$Query$TorrentTotalStats({ String? operationName, required Variables$Query$TorrentTotalStats variables, graphql.FetchPolicy? fetchPolicy, graphql.ErrorPolicy? errorPolicy, graphql.CacheRereadPolicy? cacheRereadPolicy, Object? optimisticResult, Query$TorrentTotalStats? typedOptimisticResult, Duration? pollInterval, graphql.Context? context, OnQueryComplete$Query$TorrentTotalStats? onComplete, graphql.OnQueryError? onError, }) : onCompleteWithParsed = onComplete, super( variables: variables.toJson(), operationName: operationName, fetchPolicy: fetchPolicy, errorPolicy: errorPolicy, cacheRereadPolicy: cacheRereadPolicy, optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), pollInterval: pollInterval, context: context, onComplete: onComplete == null ? null : (data) => onComplete( data, data == null ? null : _parserFn$Query$TorrentTotalStats(data), ), onError: onError, document: documentNodeQueryTorrentTotalStats, parserFn: _parserFn$Query$TorrentTotalStats, ); final OnQueryComplete$Query$TorrentTotalStats? onCompleteWithParsed; @override List get properties => [ ...super.onComplete == null ? super.properties : super.properties.where((property) => property != onComplete), onCompleteWithParsed, ]; } class WatchOptions$Query$TorrentTotalStats extends graphql.WatchQueryOptions { WatchOptions$Query$TorrentTotalStats({ String? operationName, required Variables$Query$TorrentTotalStats variables, graphql.FetchPolicy? fetchPolicy, graphql.ErrorPolicy? errorPolicy, graphql.CacheRereadPolicy? cacheRereadPolicy, Object? optimisticResult, Query$TorrentTotalStats? typedOptimisticResult, graphql.Context? context, Duration? pollInterval, bool? eagerlyFetchResults, bool carryForwardDataOnException = true, bool fetchResults = false, }) : super( variables: variables.toJson(), operationName: operationName, fetchPolicy: fetchPolicy, errorPolicy: errorPolicy, cacheRereadPolicy: cacheRereadPolicy, optimisticResult: optimisticResult ?? typedOptimisticResult?.toJson(), context: context, document: documentNodeQueryTorrentTotalStats, pollInterval: pollInterval, eagerlyFetchResults: eagerlyFetchResults, carryForwardDataOnException: carryForwardDataOnException, fetchResults: fetchResults, parserFn: _parserFn$Query$TorrentTotalStats, ); } class FetchMoreOptions$Query$TorrentTotalStats extends graphql.FetchMoreOptions { FetchMoreOptions$Query$TorrentTotalStats({ required graphql.UpdateQuery updateQuery, required Variables$Query$TorrentTotalStats variables, }) : super( updateQuery: updateQuery, variables: variables.toJson(), document: documentNodeQueryTorrentTotalStats, ); } extension ClientExtension$Query$TorrentTotalStats on graphql.GraphQLClient { Future> query$TorrentTotalStats( Options$Query$TorrentTotalStats options) async => await this.query(options); graphql.ObservableQuery watchQuery$TorrentTotalStats( WatchOptions$Query$TorrentTotalStats options) => this.watchQuery(options); void writeQuery$TorrentTotalStats({ required Query$TorrentTotalStats data, required Variables$Query$TorrentTotalStats variables, bool broadcast = true, }) => this.writeQuery( graphql.Request( operation: graphql.Operation(document: documentNodeQueryTorrentTotalStats), variables: variables.toJson(), ), data: data.toJson(), broadcast: broadcast, ); Query$TorrentTotalStats? readQuery$TorrentTotalStats({ required Variables$Query$TorrentTotalStats variables, bool optimistic = true, }) { final result = this.readQuery( graphql.Request( operation: graphql.Operation(document: documentNodeQueryTorrentTotalStats), variables: variables.toJson(), ), optimistic: optimistic, ); return result == null ? null : Query$TorrentTotalStats.fromJson(result); } } graphql_flutter.QueryHookResult useQuery$TorrentTotalStats(Options$Query$TorrentTotalStats options) => graphql_flutter.useQuery(options); graphql.ObservableQuery useWatchQuery$TorrentTotalStats( WatchOptions$Query$TorrentTotalStats options) => graphql_flutter.useWatchQuery(options); class Query$TorrentTotalStats$Widget extends graphql_flutter.Query { Query$TorrentTotalStats$Widget({ widgets.Key? key, required Options$Query$TorrentTotalStats options, required graphql_flutter.QueryBuilder builder, }) : super( key: key, options: options, builder: builder, ); } class Query$TorrentTotalStats$torrentDaemon { Query$TorrentTotalStats$torrentDaemon({ required this.statsHistory, this.$__typename = 'TorrentDaemonQuery', }); factory Query$TorrentTotalStats$torrentDaemon.fromJson( Map json) { final l$statsHistory = json['statsHistory']; final l$$__typename = json['__typename']; return Query$TorrentTotalStats$torrentDaemon( statsHistory: (l$statsHistory as List) .map((e) => Query$TorrentTotalStats$torrentDaemon$statsHistory.fromJson( (e as Map))) .toList(), $__typename: (l$$__typename as String), ); } final List statsHistory; final String $__typename; Map toJson() { final _resultData = {}; final l$statsHistory = statsHistory; _resultData['statsHistory'] = l$statsHistory.map((e) => e.toJson()).toList(); final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; } @override int get hashCode { final l$statsHistory = statsHistory; final l$$__typename = $__typename; return Object.hashAll([ Object.hashAll(l$statsHistory.map((v) => v)), l$$__typename, ]); } @override bool operator ==(Object other) { if (identical(this, other)) { return true; } if (!(other is Query$TorrentTotalStats$torrentDaemon) || runtimeType != other.runtimeType) { return false; } final l$statsHistory = statsHistory; final lOther$statsHistory = other.statsHistory; if (l$statsHistory.length != lOther$statsHistory.length) { return false; } for (int i = 0; i < l$statsHistory.length; i++) { final l$statsHistory$entry = l$statsHistory[i]; final lOther$statsHistory$entry = lOther$statsHistory[i]; if (l$statsHistory$entry != lOther$statsHistory$entry) { return false; } } final l$$__typename = $__typename; final lOther$$__typename = other.$__typename; if (l$$__typename != lOther$$__typename) { return false; } return true; } } extension UtilityExtension$Query$TorrentTotalStats$torrentDaemon on Query$TorrentTotalStats$torrentDaemon { CopyWith$Query$TorrentTotalStats$torrentDaemon< Query$TorrentTotalStats$torrentDaemon> get copyWith => CopyWith$Query$TorrentTotalStats$torrentDaemon( this, (i) => i, ); } abstract class CopyWith$Query$TorrentTotalStats$torrentDaemon { factory CopyWith$Query$TorrentTotalStats$torrentDaemon( Query$TorrentTotalStats$torrentDaemon instance, TRes Function(Query$TorrentTotalStats$torrentDaemon) then, ) = _CopyWithImpl$Query$TorrentTotalStats$torrentDaemon; factory CopyWith$Query$TorrentTotalStats$torrentDaemon.stub(TRes res) = _CopyWithStubImpl$Query$TorrentTotalStats$torrentDaemon; TRes call({ List? statsHistory, String? $__typename, }); TRes statsHistory( Iterable Function( Iterable< CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory< Query$TorrentTotalStats$torrentDaemon$statsHistory>>) _fn); } class _CopyWithImpl$Query$TorrentTotalStats$torrentDaemon implements CopyWith$Query$TorrentTotalStats$torrentDaemon { _CopyWithImpl$Query$TorrentTotalStats$torrentDaemon( this._instance, this._then, ); final Query$TorrentTotalStats$torrentDaemon _instance; final TRes Function(Query$TorrentTotalStats$torrentDaemon) _then; static const _undefined = {}; TRes call({ Object? statsHistory = _undefined, Object? $__typename = _undefined, }) => _then(Query$TorrentTotalStats$torrentDaemon( statsHistory: statsHistory == _undefined || statsHistory == null ? _instance.statsHistory : (statsHistory as List), $__typename: $__typename == _undefined || $__typename == null ? _instance.$__typename : ($__typename as String), )); TRes statsHistory( Iterable Function( Iterable< CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory< Query$TorrentTotalStats$torrentDaemon$statsHistory>>) _fn) => call( statsHistory: _fn(_instance.statsHistory.map((e) => CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory( e, (i) => i, ))).toList()); } class _CopyWithStubImpl$Query$TorrentTotalStats$torrentDaemon implements CopyWith$Query$TorrentTotalStats$torrentDaemon { _CopyWithStubImpl$Query$TorrentTotalStats$torrentDaemon(this._res); TRes _res; call({ List? statsHistory, String? $__typename, }) => _res; statsHistory(_fn) => _res; } class Query$TorrentTotalStats$torrentDaemon$statsHistory { Query$TorrentTotalStats$torrentDaemon$statsHistory({ required this.timestamp, required this.downloadedBytes, required this.uploadedBytes, required this.totalPeers, required this.activePeers, required this.connectedSeeders, this.$__typename = 'TorrentStats', }); factory Query$TorrentTotalStats$torrentDaemon$statsHistory.fromJson( Map json) { final l$timestamp = json['timestamp']; final l$downloadedBytes = json['downloadedBytes']; final l$uploadedBytes = json['uploadedBytes']; final l$totalPeers = json['totalPeers']; final l$activePeers = json['activePeers']; final l$connectedSeeders = json['connectedSeeders']; final l$$__typename = json['__typename']; return Query$TorrentTotalStats$torrentDaemon$statsHistory( timestamp: DateTime.parse((l$timestamp as String)), downloadedBytes: (l$downloadedBytes as int), uploadedBytes: (l$uploadedBytes as int), totalPeers: (l$totalPeers as int), activePeers: (l$activePeers as int), connectedSeeders: (l$connectedSeeders as int), $__typename: (l$$__typename as String), ); } final DateTime timestamp; final int downloadedBytes; final int uploadedBytes; final int totalPeers; final int activePeers; final int connectedSeeders; final String $__typename; Map toJson() { final _resultData = {}; final l$timestamp = timestamp; _resultData['timestamp'] = l$timestamp.toIso8601String(); final l$downloadedBytes = downloadedBytes; _resultData['downloadedBytes'] = l$downloadedBytes; final l$uploadedBytes = uploadedBytes; _resultData['uploadedBytes'] = l$uploadedBytes; final l$totalPeers = totalPeers; _resultData['totalPeers'] = l$totalPeers; final l$activePeers = activePeers; _resultData['activePeers'] = l$activePeers; final l$connectedSeeders = connectedSeeders; _resultData['connectedSeeders'] = l$connectedSeeders; final l$$__typename = $__typename; _resultData['__typename'] = l$$__typename; return _resultData; } @override int get hashCode { final l$timestamp = timestamp; final l$downloadedBytes = downloadedBytes; final l$uploadedBytes = uploadedBytes; final l$totalPeers = totalPeers; final l$activePeers = activePeers; final l$connectedSeeders = connectedSeeders; final l$$__typename = $__typename; return Object.hashAll([ l$timestamp, l$downloadedBytes, l$uploadedBytes, l$totalPeers, l$activePeers, l$connectedSeeders, l$$__typename, ]); } @override bool operator ==(Object other) { if (identical(this, other)) { return true; } if (!(other is Query$TorrentTotalStats$torrentDaemon$statsHistory) || runtimeType != other.runtimeType) { return false; } final l$timestamp = timestamp; final lOther$timestamp = other.timestamp; if (l$timestamp != lOther$timestamp) { return false; } final l$downloadedBytes = downloadedBytes; final lOther$downloadedBytes = other.downloadedBytes; if (l$downloadedBytes != lOther$downloadedBytes) { return false; } final l$uploadedBytes = uploadedBytes; final lOther$uploadedBytes = other.uploadedBytes; if (l$uploadedBytes != lOther$uploadedBytes) { return false; } final l$totalPeers = totalPeers; final lOther$totalPeers = other.totalPeers; if (l$totalPeers != lOther$totalPeers) { return false; } final l$activePeers = activePeers; final lOther$activePeers = other.activePeers; if (l$activePeers != lOther$activePeers) { return false; } final l$connectedSeeders = connectedSeeders; final lOther$connectedSeeders = other.connectedSeeders; if (l$connectedSeeders != lOther$connectedSeeders) { return false; } final l$$__typename = $__typename; final lOther$$__typename = other.$__typename; if (l$$__typename != lOther$$__typename) { return false; } return true; } } extension UtilityExtension$Query$TorrentTotalStats$torrentDaemon$statsHistory on Query$TorrentTotalStats$torrentDaemon$statsHistory { CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory< Query$TorrentTotalStats$torrentDaemon$statsHistory> get copyWith => CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory( this, (i) => i, ); } abstract class CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory< TRes> { factory CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory( Query$TorrentTotalStats$torrentDaemon$statsHistory instance, TRes Function(Query$TorrentTotalStats$torrentDaemon$statsHistory) then, ) = _CopyWithImpl$Query$TorrentTotalStats$torrentDaemon$statsHistory; factory CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory.stub( TRes res) = _CopyWithStubImpl$Query$TorrentTotalStats$torrentDaemon$statsHistory; TRes call({ DateTime? timestamp, int? downloadedBytes, int? uploadedBytes, int? totalPeers, int? activePeers, int? connectedSeeders, String? $__typename, }); } class _CopyWithImpl$Query$TorrentTotalStats$torrentDaemon$statsHistory implements CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory { _CopyWithImpl$Query$TorrentTotalStats$torrentDaemon$statsHistory( this._instance, this._then, ); final Query$TorrentTotalStats$torrentDaemon$statsHistory _instance; final TRes Function(Query$TorrentTotalStats$torrentDaemon$statsHistory) _then; static const _undefined = {}; TRes call({ Object? timestamp = _undefined, Object? downloadedBytes = _undefined, Object? uploadedBytes = _undefined, Object? totalPeers = _undefined, Object? activePeers = _undefined, Object? connectedSeeders = _undefined, Object? $__typename = _undefined, }) => _then(Query$TorrentTotalStats$torrentDaemon$statsHistory( timestamp: timestamp == _undefined || timestamp == null ? _instance.timestamp : (timestamp as DateTime), downloadedBytes: downloadedBytes == _undefined || downloadedBytes == null ? _instance.downloadedBytes : (downloadedBytes as int), uploadedBytes: uploadedBytes == _undefined || uploadedBytes == null ? _instance.uploadedBytes : (uploadedBytes as int), totalPeers: totalPeers == _undefined || totalPeers == null ? _instance.totalPeers : (totalPeers as int), activePeers: activePeers == _undefined || activePeers == null ? _instance.activePeers : (activePeers as int), connectedSeeders: connectedSeeders == _undefined || connectedSeeders == null ? _instance.connectedSeeders : (connectedSeeders as int), $__typename: $__typename == _undefined || $__typename == null ? _instance.$__typename : ($__typename as String), )); } class _CopyWithStubImpl$Query$TorrentTotalStats$torrentDaemon$statsHistory implements CopyWith$Query$TorrentTotalStats$torrentDaemon$statsHistory { _CopyWithStubImpl$Query$TorrentTotalStats$torrentDaemon$statsHistory( this._res); TRes _res; call({ DateTime? timestamp, int? downloadedBytes, int? uploadedBytes, int? totalPeers, int? activePeers, int? connectedSeeders, String? $__typename, }) => _res; }