addPath method

void addPath(
  1. String style,
  2. String path
)

Implementation

void addPath(String style, String path) {
  if (_currentStyle == style) {
    _currentPath += path;
  } else {
    flushPath();
    _currentStyle = style;
    _currentPath = path;
  }
}