onRectanglecomplete property

Stream<Rectangle> get onRectanglecomplete

Implementation

Stream<Rectangle> get onRectanglecomplete {
  late StreamController<Rectangle> sc; // ignore: close_sinks
  late MapsEventListener mapsEventListener;
  void start() => mapsEventListener = Event.addListener(
        this,
        'rectanglecomplete',
        (Rectangle rectangle) => sc.add(rectangle),
      );
  void stop() => mapsEventListener.remove();
  sc = StreamController<Rectangle>(
    onListen: start,
    onCancel: stop,
    onResume: start,
    onPause: stop,
  );
  return sc.stream;
}