copyWith method

  1. @override
MessageText copyWith({
  1. FormattedText? text,
  2. WebPage? webPage,
})
override

Implementation

@override
MessageText copyWith({
  FormattedText? text,
  WebPage? webPage,
}) =>
    MessageText(
      text: text ?? this.text,
      webPage: webPage ?? this.webPage,
    );