copyWith method
Implementation
LogQuery copyWith({
DateTime? dateFrom,
DateTime? dateTo,
int? durationFrom,
int? durationTo,
String? name,
String? number,
int? limit,
bool? isOutgoing,
}) {
return LogQuery(
dateFrom: dateFrom ?? this.dateFrom,
dateTo: dateTo ?? this.dateTo,
durationFrom: durationFrom ?? this.durationFrom,
durationTo: durationTo ?? this.durationTo,
name: name ?? this.name,
number: number ?? this.number,
isOutgoing: isOutgoing ?? this.isOutgoing,
limit: limit ?? this.limit
);
}