build method
Implementation
@override
String build() => [
'<th',
if (colspan != null) ' colspan="$colspan"',
if (scope != null) ' scope="${mapperScopeTable(scope!)}"',
if (rowspan != null) ' rowspan="$rowspan"',
if (accesskey != null) ' accesskey="$accesskey"',
if (autofocus) ' autofocus',
if (classList != null && classList!.isNotEmpty)
' class="${classList!.map((e) => e.name).join(' ')}"',
if (contentEditable) ' contenteditable',
if (contextmenu != null) ' contextmenu="$contextmenu"',
if (dir != null) ' dir="$dir"',
if (hidden) ' hidden',
if (id != null) ' id="$id"',
if (lang != null) ' lang="$lang"',
if (role != null) ' role="$role"',
if (spellcheck) ' spellcheck',
if (styleList != null && styleList!.isNotEmpty)
' style="${styleList!.map((e) => e.build()).join(';')}"',
if (tabindex != null) ' tabindex="$tabindex"',
if (title != null) ' title="$title"',
if (onblur != null) ' onblur="$onblur"',
if (onchange != null) ' onchange="$onchange"',
if (onclick != null) ' onclick="$onclick"',
if (ondblclick != null) ' ondblclick="$ondblclick"',
if (onfocus != null) ' onfocus="$onfocus"',
if (onkeydown != null) ' onkeydown="$onkeydown"',
if (onkeypress != null) ' onkeypress="$onkeypress"',
if (onkeyup != null) ' onkeyup="$onkeyup"',
if (onload != null) ' onload="$onload"',
if (onmousedown != null) ' onmousedown="$onmousedown"',
if (onmousemove != null) ' onmousemove="$onmousemove"',
if (onmouseout != null) ' onmouseout="$onmouseout"',
if (onmouseover != null) ' onmouseover="$onmouseover"',
if (onmouseup != null) ' onmouseup="$onmouseup"',
if (onreset != null) ' onreset="$onreset"',
if (onselect != null) ' onselect="$onselect"',
if (onsubmit != null) ' onsubmit="$onsubmit"',
if (onunload != null) ' onunload="$onunload"',
'>',
super.build(),
'</th>',
].join();