copyWith method
UpdateNotificationGroup
copyWith({
- int? notificationGroupId,
- NotificationGroupType? type,
- int? chatId,
- int? notificationSettingsChatId,
- int? notificationSoundId,
- int? totalCount,
- List<
Notification> ? addedNotifications, - List<
int> ? removedNotificationIds,
Implementation
UpdateNotificationGroup copyWith({
int? notificationGroupId,
NotificationGroupType? type,
int? chatId,
int? notificationSettingsChatId,
int? notificationSoundId,
int? totalCount,
List<Notification>? addedNotifications,
List<int>? removedNotificationIds,
}) => UpdateNotificationGroup(
notificationGroupId: notificationGroupId ?? this.notificationGroupId,
type: type ?? this.type,
chatId: chatId ?? this.chatId,
notificationSettingsChatId:
notificationSettingsChatId ?? this.notificationSettingsChatId,
notificationSoundId: notificationSoundId ?? this.notificationSoundId,
totalCount: totalCount ?? this.totalCount,
addedNotifications: addedNotifications ?? this.addedNotifications,
removedNotificationIds:
removedNotificationIds ?? this.removedNotificationIds,
);