copyWith method

PageOfWorklogs copyWith({
  1. int? maxResults,
  2. int? startAt,
  3. int? total,
  4. List<Worklog>? worklogs,
})

Implementation

PageOfWorklogs copyWith(
    {int? maxResults, int? startAt, int? total, List<Worklog>? worklogs}) {
  return PageOfWorklogs(
    maxResults: maxResults ?? this.maxResults,
    startAt: startAt ?? this.startAt,
    total: total ?? this.total,
    worklogs: worklogs ?? this.worklogs,
  );
}