toHtml method
Returns an HTML representation of the element
Implementation
@override
String toHtml() {
return elements.isEmpty
? ''
: '<section id="index">'
'<ul>${elements.map((e) => getListItem(e)).join()}</ul>'
'</section>';
}