outerHtml property

String? get outerHtml
override

Implementation

String? get outerHtml {
  final container = new DivElement();
  final SvgElement cloned = this.clone(true) as SvgElement;
  container.children.add(cloned);
  return container.innerHtml;
}