copyWith method

ChatEventDescriptionChanged copyWith({
  1. String? oldDescription,
  2. String? newDescription,
})

Implementation

ChatEventDescriptionChanged copyWith({
  String? oldDescription,
  String? newDescription,
}) => ChatEventDescriptionChanged(
  oldDescription: oldDescription ?? this.oldDescription,
  newDescription: newDescription ?? this.newDescription,
);