stringToGeoPoints method

List<GeoPoint> stringToGeoPoints()

Implementation

List<GeoPoint> stringToGeoPoints() {
  return decodePolyline(
    this,
  )
      .map((e) => GeoPoint(
            latitude: e.first.toDouble(),
            longitude: e.last.toDouble(),
          ))
      .toList();
}