copyWith method

MessageCopyOptions copyWith({
  1. bool? sendCopy,
  2. bool? replaceCaption,
  3. FormattedText? newCaption,
})

Implementation

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