onDropStrings method

Stream<DropzoneDropStringsEvent> onDropStrings({
  1. required int viewId,
})
inherited

Event called when the user drops multiple strings onto the dropzone.

Implementation

Stream<DropzoneDropStringsEvent> onDropStrings({required int viewId}) {
  return events.stream //
      .where((event) =>
          event.viewId == viewId && event is DropzoneDropStringsEvent)
      .cast<DropzoneDropStringsEvent>();
}