copyWith method
Implementation
DyItemData<T> copyWith({
T? data,
bool? isSelected,
int? page,
DyItemDataSource? source,
}) =>
DyItemData<T>(
data: data ?? this.data,
isSelected: isSelected ?? this.isSelected,
page: page ?? this.page,
source: source ?? this.source,
);