outerHtml 属性

String? outerHtml
重写

实现

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