parsePoints method
Implementation
ViewerElement<List<Point<num>>>? parsePoints(node) {
return _parseViewerElement(node, ['points'],
constructorValue: CanvasImageViewer.pointsViewerElement,
mapperList: ((list) =>
list.map(parsePoint).toList() as List<Point<num>>));
}