parsePoints method

ViewerElement<List<Point<num>>>? parsePoints(
  1. dynamic node
)

Implementation

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