copyWith method

UpdateNotification copyWith({
  1. int? notificationGroupId,
  2. Notification? notification,
})

Implementation

UpdateNotification copyWith({
  int? notificationGroupId,
  Notification? notification,
}) => UpdateNotification(
  notificationGroupId: notificationGroupId ?? this.notificationGroupId,
  notification: notification ?? this.notification,
);