UIRichText constructor

UIRichText({
  1. Iterable<UIParagraph>? paragraphs,
})

Implementation

factory UIRichText({
  $core.Iterable<UIParagraph>? paragraphs,
}) {
  final result = create();
  if (paragraphs != null) result.paragraphs.addAll(paragraphs);
  return result;
}