copyWith method
Implementation
UserList copyWith(
{int? endIndex,
List<User>? items,
int? maxResults,
int? size,
int? startIndex}) {
return UserList(
endIndex: endIndex ?? this.endIndex,
items: items ?? this.items,
maxResults: maxResults ?? this.maxResults,
size: size ?? this.size,
startIndex: startIndex ?? this.startIndex,
);
}