copyWith method

PagedDTORequestTypeDTO copyWith({
  1. List<String>? expands,
  2. PagedLinkDTO? links,
  3. bool? isLastPage,
  4. int? limit,
  5. int? size,
  6. int? start,
  7. List<RequestTypeDTO>? values,
})

Implementation

PagedDTORequestTypeDTO copyWith(
    {List<String>? expands,
    PagedLinkDTO? links,
    bool? isLastPage,
    int? limit,
    int? size,
    int? start,
    List<RequestTypeDTO>? values}) {
  return PagedDTORequestTypeDTO(
    expands: expands ?? this.expands,
    links: links ?? this.links,
    isLastPage: isLastPage ?? this.isLastPage,
    limit: limit ?? this.limit,
    size: size ?? this.size,
    start: start ?? this.start,
    values: values ?? this.values,
  );
}