copyWith method

PageOfChangelogs copyWith({
  1. List<Changelog>? histories,
  2. int? maxResults,
  3. int? startAt,
  4. int? total,
})

Implementation

PageOfChangelogs copyWith(
    {List<Changelog>? histories, int? maxResults, int? startAt, int? total}) {
  return PageOfChangelogs(
    histories: histories ?? this.histories,
    maxResults: maxResults ?? this.maxResults,
    startAt: startAt ?? this.startAt,
    total: total ?? this.total,
  );
}