copyContent method

List<DOMNode> copyContent()

Copies this node content.

Implementation

List<DOMNode> copyContent() {
  if (_content == null || _content!.isEmpty) return <DOMNode>[];
  var content2 = _content!.map((e) => e.copy()).toList();
  return content2;
}