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