onStoryBlockEmpty property

StoryBlockEmptyCallback? onStoryBlockEmpty
final

The callback is triggered when there are no items in the story block. The callback is triggered in the following cases:

  1. Loading successfully but the back end returns an empty list.
  2. The load failed and list is empty. onStoryBlockLoadFinished will also be triggered when onStoryBlockEmpty is triggered.

Implementation

final StoryBlockEmptyCallback? onStoryBlockEmpty;