copyWith method

SearchQuote copyWith({
  1. FormattedText? text,
  2. FormattedText? quote,
  3. int? quotePosition,
})

Implementation

SearchQuote copyWith({
  FormattedText? text,
  FormattedText? quote,
  int? quotePosition,
}) => SearchQuote(
  text: text ?? this.text,
  quote: quote ?? this.quote,
  quotePosition: quotePosition ?? this.quotePosition,
);