updateGeoJSON method Null safety
- String geoJson
Update this GeojsonSource with a URL to a GeoJSON file, or inline GeoJSON.
Implementation
Future<void>? updateGeoJSON(String geoJson) async {
return _style?.setStyleSourceProperty(id, "data", geoJson);
}