copyWith method
ScopeNotificationSettings
copyWith(
{ - int? muteFor,
- int? soundId,
- bool? showPreview,
- bool? useDefaultMuteStories,
- bool? muteStories,
- int? storySoundId,
- bool? showStorySender,
- bool? disablePinnedMessageNotifications,
- bool? disableMentionNotifications,
- int? clientId,
})
Implementation
ScopeNotificationSettings copyWith({
int? muteFor,
int? soundId,
bool? showPreview,
bool? useDefaultMuteStories,
bool? muteStories,
int? storySoundId,
bool? showStorySender,
bool? disablePinnedMessageNotifications,
bool? disableMentionNotifications,
dynamic extra,
int? clientId,
}) =>
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,
showStorySender: showStorySender ?? this.showStorySender,
disablePinnedMessageNotifications: disablePinnedMessageNotifications ??
this.disablePinnedMessageNotifications,
disableMentionNotifications:
disableMentionNotifications ?? this.disableMentionNotifications,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);