getSemanticsInformation method

List<InlineSpanSemanticsInformation> getSemanticsInformation()

Flattens the InlineSpan tree to a list of InlineSpanSemanticsInformation objects.

PlaceholderSpans in the tree will be represented with a InlineSpanSemanticsInformation.placeholder value.

Implementation

List<InlineSpanSemanticsInformation> getSemanticsInformation() {
  final List<InlineSpanSemanticsInformation> collector = <InlineSpanSemanticsInformation>[];
  computeSemanticsInformation(collector);
  return collector;
}