toPolygonPath method
Implementation
JSArray<JSArray<WebLatLng>> toPolygonPath() {
final path = [this.path.map(WebLatLng.fromLatLng).toList().toJS];
holes
.map((e) => e.map(WebLatLng.fromLatLng).toList().toJS)
.forEach(path.add);
return path.toJS;
}