onLoaded method

Stream<DropzoneLoadedEvent> onLoaded({
  1. required int viewId,
})
inherited

Event called when the dropzone view has been loaded.

Implementation

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