copyWith method
NotificationResponseModel
copyWith({
- NotificationSeen? data,
- int? count,
- int? pageSize,
- int? currentPage,
- int? lastPage,
Implementation
NotificationResponseModel copyWith({
NotificationSeen? data,
int? count,
int? pageSize,
int? currentPage,
int? lastPage,
}) =>
NotificationResponseModel(
data: data ?? this.data,
count: count ?? this.count,
pageSize: pageSize ?? this.pageSize,
currentPage: currentPage ?? this.currentPage,
lastPage: lastPage ?? this.lastPage,
);