copyWith method

ScopeNotificationSettings copyWith({
  1. int? muteFor,
  2. String? sound,
  3. bool? showPreview,
  4. bool? disablePinnedMessageNotifications,
  5. bool? disableMentionNotifications,
  6. dynamic extra,
  7. int? clientId,
})

Implementation

ScopeNotificationSettings copyWith({
  int? muteFor,
  String? sound,
  bool? showPreview,
  bool? disablePinnedMessageNotifications,
  bool? disableMentionNotifications,
  dynamic extra,
  int? clientId,
}) => ScopeNotificationSettings(
  muteFor: muteFor ?? this.muteFor,
  sound: sound ?? this.sound,
  showPreview: showPreview ?? this.showPreview,
  disablePinnedMessageNotifications: disablePinnedMessageNotifications ?? this.disablePinnedMessageNotifications,
  disableMentionNotifications: disableMentionNotifications ?? this.disableMentionNotifications,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);