onMarkercomplete property

Stream<Marker> get onMarkercomplete

Implementation

Stream<Marker> get onMarkercomplete {
  late StreamController<Marker> sc; // ignore: close_sinks
  late MapsEventListener mapsEventListener;
  void start() => mapsEventListener = event.addListener(
        this,
        'markercomplete',
        ((Marker e) => sc.add(e)).toJS,
      );
  void stop() => mapsEventListener.remove();
  sc = StreamController<Marker>(
    onListen: start,
    onCancel: stop,
    onResume: start,
    onPause: stop,
  );
  return sc.stream;
}