copyWith abstract method

MessageElement copyWith()

Creates a copy of this element.

This method supports the Immutable Object pattern by allowing element updates without modifying the original instance.

Implementation

MessageElement copyWith();