onLoaded method
Event called when the dropzone view has been loaded.
Implementation
Stream<DropzoneLoadedEvent> onLoaded({required int viewId}) {
return events.stream //
.where(
(event) => event.viewId == viewId && event is DropzoneLoadedEvent)
.cast<DropzoneLoadedEvent>();
}