onDropFiles method
Event called when the user drops multiple files onto the dropzone.
Implementation
Stream<DropzoneDropFilesEvent> onDropFiles({required int viewId}) {
return events.stream //
.where((event) =>
event.viewId == viewId && event is DropzoneDropFilesEvent)
.cast<DropzoneDropFilesEvent>();
}