copyWith method
MessageCopyOptions
copyWith({
- bool? sendCopy,
- bool? replaceCaption,
- FormattedText? newCaption,
- bool? newShowCaptionAboveMedia,
Implementation
MessageCopyOptions copyWith({
bool? sendCopy,
bool? replaceCaption,
FormattedText? newCaption,
bool? newShowCaptionAboveMedia,
}) => MessageCopyOptions(
sendCopy: sendCopy ?? this.sendCopy,
replaceCaption: replaceCaption ?? this.replaceCaption,
newCaption: newCaption ?? this.newCaption,
newShowCaptionAboveMedia:
newShowCaptionAboveMedia ?? this.newShowCaptionAboveMedia,
);