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