onDropMultiple method

  1. @Deprecated('Use onDropFiles or onDropStrings instead.')
Stream<DropzoneDropMultipleEvent> onDropMultiple({
  1. required int viewId,
})
inherited

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

Implementation

@Deprecated('Use onDropFiles or onDropStrings instead.')
Stream<DropzoneDropMultipleEvent> onDropMultiple({required int viewId}) {
  return events.stream //
      .where((event) =>
          event.viewId == viewId && event is DropzoneDropMultipleEvent)
      .cast<DropzoneDropMultipleEvent>();
}