getGeoJSON method
Retrieve geometry data in GeoJSON format.
If id is provided, returns the specific Feature.
Otherwise, returns a FeatureCollection containing all features.
Implementation
Future<Map<String, dynamic>?> getGeoJSON([
String? id,
Map<String, dynamic>? options,
]) async {
return await geometry.getGeoJSON(id, options);
}