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