onDropString method

Stream<DropzoneDropStringEvent> onDropString({
  1. required int viewId,
})
inherited

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>();
}