toHtml method
Returns an HTML representation of the element
Implementation
@override
String toHtml() {
return '<article id="${getId()}">'
'${heading.toHtml()}'
'${contents.map((e) => '<section' '${e is Indexable ? ' id="${(e as Indexable).getId()}"' : ''}' '>${e.toHtml()}</section>').join()}'
'</article>';
}