outerHtml property Null safety

String 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;
}