copyWith method
Implementation
DraftMessageContentText copyWith({
FormattedText? text,
LinkPreviewOptions? linkPreviewOptions,
}) =>
DraftMessageContentText(
text: text ?? this.text,
linkPreviewOptions: linkPreviewOptions ?? this.linkPreviewOptions,
);