copyWith method
Implementation
ReviewResponse copyWith({
List<ReviewModel>? data,
int? count,
int? pageSize,
int? currentPage,
int? lastPage,
}) =>
ReviewResponse(
data: data ?? this.data,
count: count ?? this.count,
pageSize: pageSize ?? this.pageSize,
currentPage: currentPage ?? this.currentPage,
lastPage: lastPage ?? this.lastPage,
);