loadGeoJson method

void loadGeoJson(
  1. String? url, [
  2. DataGeoJsonOptions? options,
  3. void callback(
    1. List<DataFeature?>?
    )?
])

Implementation

void loadGeoJson(
  String? url, [
  DataGeoJsonOptions? options,
  void Function(List<DataFeature?>?)? callback,
]) {
  callMethod(this, 'loadGeoJson', [
    url,
    options,
    callback == null
        ? null
        : allowInterop((p0) => callback(p0?.cast<DataFeature?>()))
  ]);
}