copyWith method
InputMessageText
copyWith({
- FormattedText? text,
- bool? disableWebPagePreview,
- bool? clearDraft,
override
Implementation
@override
InputMessageText copyWith({
FormattedText? text,
bool? disableWebPagePreview,
bool? clearDraft,
}) =>
InputMessageText(
text: text ?? this.text,
disableWebPagePreview:
disableWebPagePreview ?? this.disableWebPagePreview,
clearDraft: clearDraft ?? this.clearDraft,
);