copyWith method

BusinessChatLinkInfo copyWith({
  1. int? chatId,
  2. FormattedText? text,
})

Implementation

BusinessChatLinkInfo copyWith({int? chatId, FormattedText? text}) =>
    BusinessChatLinkInfo(
      chatId: chatId ?? this.chatId,
      text: text ?? this.text,
    );