toString method

  1. @override
String toString()
override

Give a human-readable sketch of the contents of this SvgDOM. This might be useful for debugging and/or exploration.

Implementation

@override
String toString() {
  final sb = StringBuffer();
  sb.write('SvgDOM(\n');
  sb.write('  stylesheet:  $stylesheet\n');
  sb.write('  nodes: $root\n');
  sb.write(')\n');
  return sb.toString();
}