copyWith method

ChatFolderName copyWith({
  1. FormattedText? text,
  2. bool? animateCustomEmoji,
})

Implementation

ChatFolderName copyWith({
  FormattedText? text,
  bool? animateCustomEmoji,
}) =>
    ChatFolderName(
      text: text ?? this.text,
      animateCustomEmoji: animateCustomEmoji ?? this.animateCustomEmoji,
    );