copyWith method

  1. @override
ChatEventMessageEdited copyWith({
  1. Message? oldMessage,
  2. Message? newMessage,
})
override

Implementation

@override
ChatEventMessageEdited copyWith({
  Message? oldMessage,
  Message? newMessage,
}) =>
    ChatEventMessageEdited(
      oldMessage: oldMessage ?? this.oldMessage,
      newMessage: newMessage ?? this.newMessage,
    );