copyWith method
UpdateNotificationGroup
copyWith({
- int? notificationGroupId,
- NotificationGroupType? type,
- int? chatId,
- int? notificationSettingsChatId,
- int? notificationSoundId,
- 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,
int? notificationSoundId,
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,
notificationSoundId: notificationSoundId ?? this.notificationSoundId,
totalCount: totalCount ?? this.totalCount,
addedNotifications: addedNotifications ?? this.addedNotifications,
removedNotificationIds:
removedNotificationIds ?? this.removedNotificationIds,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);