parse method

Map<String, dynamic> parse(
  1. dynamic text
)

Implementation

Map<String, dynamic> parse(text) {
  parseNode(xml.documentElement, {
    "fill": '#000',
    "fillOpacity": 1,
    "strokeOpacity": 1,
    "strokeWidth": 1,
    "strokeLineJoin": 'miter',
    "strokeLineCap": 'butt',
    "strokeMiterLimit": 4
  });

  var data = {"paths": paths, "xml": xml.documentElement};

  // console.log( paths );
  return data;
}