copyWith method

NotificationSeen copyWith({
  1. int? unseenCount,
  2. List<NotificationModel>? notifications,
})

Implementation

NotificationSeen copyWith({
  int? unseenCount,
  List<NotificationModel>? notifications,
}) =>
    NotificationSeen(
      unseenCount: unseenCount ?? this.unseenCount,
      notifications: notifications ?? this.notifications,
    );