copyWith method

NotificationState copyWith({
  1. List<Notifications>? notifications,
})

Implementation

NotificationState copyWith({List<Notifications>? notifications}) {
  return NotificationState(notifications: notifications ?? this.notifications);
}