toString method

  1. @override
String toString()
override

Returns the SVG content as a formatted XML string.

Implementation

@override
String toString() {
  return build().toXmlString(pretty: true);
}