addPath method
Appends the path specified by the points and their types to this one.
Implementation
void addPath(List<Offset> pathPoints, List<int> pathTypes) {
final int count = pathPoints.length;
if (count != pathTypes.length) {
throw ArgumentError.value(
'The argument arrays should be of equal length.');
}
_helper.points.addAll(pathPoints);
_helper.pathTypes.addAll(_assignPathtype(pathTypes));
}