xmlSerializer top-level property

dynamic get xmlSerializer

Provides the serializeToString() method to construct an XML string representing a DOM tree.

MDN Reference

Implementation

_i2.dynamic get xmlSerializer => _i4.getProperty(
      _self,
      'XMLSerializer',
    );