copyWith method
Implementation
RichTextBotCommand copyWith({
RichText? text,
String? botCommand,
}) =>
RichTextBotCommand(
text: text ?? this.text,
botCommand: botCommand ?? this.botCommand,
);
RichTextBotCommand copyWith({
RichText? text,
String? botCommand,
}) =>
RichTextBotCommand(
text: text ?? this.text,
botCommand: botCommand ?? this.botCommand,
);