copyWith method

TaskPageResponse copyWith({
  1. List<Task>? results,
  2. int? start,
  3. int? limit,
  4. int? size,
})

Implementation

TaskPageResponse copyWith(
    {List<Task>? results, int? start, int? limit, int? size}) {
  return TaskPageResponse(
    results: results ?? this.results,
    start: start ?? this.start,
    limit: limit ?? this.limit,
    size: size ?? this.size,
  );
}