copyWith method

PagedListUserDetailsApplicationUser copyWith({
  1. int? endIndex,
  2. List<UserDetails>? items,
  3. int? maxResults,
  4. int? size,
  5. int? startIndex,
})

Implementation

PagedListUserDetailsApplicationUser copyWith(
    {int? endIndex,
    List<UserDetails>? items,
    int? maxResults,
    int? size,
    int? startIndex}) {
  return PagedListUserDetailsApplicationUser(
    endIndex: endIndex ?? this.endIndex,
    items: items ?? this.items,
    maxResults: maxResults ?? this.maxResults,
    size: size ?? this.size,
    startIndex: startIndex ?? this.startIndex,
  );
}