copyWith method

  1. @override
UpdateNotificationGroup copyWith({
  1. int? notificationGroupId,
  2. NotificationGroupType? type,
  3. int? chatId,
  4. int? notificationSettingsChatId,
  5. bool? isSilent,
  6. int? totalCount,
  7. List<Notification>? addedNotifications,
  8. List<int>? removedNotificationIds,
  9. dynamic extra,
  10. int? clientId,
})
override

Implementation

@override
UpdateNotificationGroup copyWith({
  int? notificationGroupId,
  NotificationGroupType? type,
  int? chatId,
  int? notificationSettingsChatId,
  bool? isSilent,
  int? totalCount,
  List<Notification>? addedNotifications,
  List<int>? removedNotificationIds,
  dynamic extra,
  int? clientId,
}) => UpdateNotificationGroup(
  notificationGroupId: notificationGroupId ?? this.notificationGroupId,
  type: type ?? this.type,
  chatId: chatId ?? this.chatId,
  notificationSettingsChatId: notificationSettingsChatId ?? this.notificationSettingsChatId,
  isSilent: isSilent ?? this.isSilent,
  totalCount: totalCount ?? this.totalCount,
  addedNotifications: addedNotifications ?? this.addedNotifications,
  removedNotificationIds: removedNotificationIds ?? this.removedNotificationIds,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);