copyWith method

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

Implementation

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