StructuredFormatting constructor

StructuredFormatting({
  1. String mainText = "",
  2. List<MatchedSubstring>? mainTextMatchedSubstrings,
  3. String secondaryText = "",
  4. List<MatchedSubstring>? secondaryTextMatchedSubstrings,
})

Creates a StructuredFormatting instance.

Implementation

StructuredFormatting({
  this.mainText = "",
  this.mainTextMatchedSubstrings,
  this.secondaryText = "",
  this.secondaryTextMatchedSubstrings,
});