copyWith method
Implementation
ScopeNotificationSettings copyWith({
int? muteFor,
int? soundId,
bool? showPreview,
bool? useDefaultMuteStories,
bool? muteStories,
int? storySoundId,
bool? showStoryPoster,
bool? disablePinnedMessageNotifications,
bool? disableMentionNotifications,
}) => ScopeNotificationSettings(
muteFor: muteFor ?? this.muteFor,
soundId: soundId ?? this.soundId,
showPreview: showPreview ?? this.showPreview,
useDefaultMuteStories: useDefaultMuteStories ?? this.useDefaultMuteStories,
muteStories: muteStories ?? this.muteStories,
storySoundId: storySoundId ?? this.storySoundId,
showStoryPoster: showStoryPoster ?? this.showStoryPoster,
disablePinnedMessageNotifications:
disablePinnedMessageNotifications ??
this.disablePinnedMessageNotifications,
disableMentionNotifications:
disableMentionNotifications ?? this.disableMentionNotifications,
);