toHtml method

  1. @override
String toHtml()
override

Returns an HTML representation of the element

Implementation

@override
String toHtml() {
  return '<a href="$link" target="$target">' '$text' '</a>';
}