getTitle method

  1. @override
String getTitle()
override

The title with which to refer to the element as

Implementation

@override
String getTitle() {
  if (headings.isEmpty) {
    toHtml(); // Hack to force `CollectHeadersForIndexable` to run.
  }
  return NestedIndexable.from(headings).self.getTitle();
}