copyWith method

ReactionNotificationSettings copyWith({
  1. ReactionNotificationSource? messageReactionSource,
  2. ReactionNotificationSource? storyReactionSource,
  3. ReactionNotificationSource? pollVoteSource,
  4. int? soundId,
  5. bool? showPreview,
})

Implementation

ReactionNotificationSettings copyWith({
  ReactionNotificationSource? messageReactionSource,
  ReactionNotificationSource? storyReactionSource,
  ReactionNotificationSource? pollVoteSource,
  int? soundId,
  bool? showPreview,
}) => ReactionNotificationSettings(
  messageReactionSource: messageReactionSource ?? this.messageReactionSource,
  storyReactionSource: storyReactionSource ?? this.storyReactionSource,
  pollVoteSource: pollVoteSource ?? this.pollVoteSource,
  soundId: soundId ?? this.soundId,
  showPreview: showPreview ?? this.showPreview,
);