copyWith method

SimpleListWrapperGroupName copyWith({
  1. ListWrapperCallbackGroupName? callback,
  2. List<GroupName>? items,
  3. int? maxResults,
  4. ListWrapperCallbackGroupName? pagingCallback,
  5. int? size,
})

Implementation

SimpleListWrapperGroupName copyWith(
    {ListWrapperCallbackGroupName? callback,
    List<GroupName>? items,
    int? maxResults,
    ListWrapperCallbackGroupName? pagingCallback,
    int? size}) {
  return SimpleListWrapperGroupName(
    callback: callback ?? this.callback,
    items: items ?? this.items,
    maxResults: maxResults ?? this.maxResults,
    pagingCallback: pagingCallback ?? this.pagingCallback,
    size: size ?? this.size,
  );
}