copyWith method
UpdateNotificationGroup
copyWith({
- int? notificationGroupId,
- NotificationGroupType? type,
- int? chatId,
- int? notificationSettingsChatId,
- bool? isSilent,
- int? totalCount,
- List<
Notification> ? addedNotifications, - List<
int> ? removedNotificationIds, - dynamic extra,
- 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,
);