GeoJson.fromWKB constructor

GeoJson.fromWKB(
  1. String wkbString
)

Implementation

factory GeoJson.fromWKB(String wkbString) {
  // Parse the WKB string to create a LatLng object
  final latLng = parseWKBPoint(wkbString);
  return GeoJson(
    type: 'Point', // Assuming WKB is for a Point type
    coordinates: latLng,
  );
}