toHtml method
Returns an HTML representation of the element
Implementation
@override
String toHtml() {
return '<header id="${getId()}">'
'<h$headingLevel>$title</h$headingLevel>'
'${subtitle != null ? subtitle?.split('\n').map((e) => '<p>$e</p>').join() : ""}'
'</header>';
}