onLeave method
Event called when the user leaves a dropzone.
Implementation
Stream<DropzoneLeaveEvent> onLeave({required int viewId}) {
return events.stream //
.where((event) => event.viewId == viewId && event is DropzoneLeaveEvent)
.cast<DropzoneLeaveEvent>();
}