addFeatureLayer method

Future<FeatureLayer> addFeatureLayer({
  1. required String layerId,
  2. required FeatureLayerOptions options,
  3. List<Graphic>? data,
  4. void onPressed(
    1. dynamic
    )?,
  5. String? url,
  6. void getZoom(
    1. double
    )?,
})

Implementation

Future<FeatureLayer> addFeatureLayer({
  required String layerId,
  required FeatureLayerOptions options,
  List<Graphic>? data,
  void Function(dynamic)? onPressed,
  String? url,
  void Function(double)? getZoom,
}) async {
  return ArcgisMapPlatform.instance.addFeatureLayer(
    options,
    data,
    onPressed,
    url,
    mapId,
    getZoom,
    layerId,
  );
}