getPath property

String getPath

This getter is used to make a hex code for the polygon array

Implementation

String get getPath {
  String pathText = '[';
  String pathList = '';
  path.forEach((element) {
    pathList += 'new kakao.maps.LatLng(${element.lat}, ${element.lng}),';
  });
  pathText += '$pathList]';
  return pathText;
}