copyWith method

  1. @override
ChatEventSlowModeDelayChanged copyWith({
  1. int? oldSlowModeDelay,
  2. int? newSlowModeDelay,
})
override

Implementation

@override
ChatEventSlowModeDelayChanged copyWith({
  int? oldSlowModeDelay,
  int? newSlowModeDelay,
}) => ChatEventSlowModeDelayChanged(
  oldSlowModeDelay: oldSlowModeDelay ?? this.oldSlowModeDelay,
  newSlowModeDelay: newSlowModeDelay ?? this.newSlowModeDelay,
);