StorylyViewEventCallback typedef Null safety

StorylyViewEventCallback = void Function(String event, StoryGroup? storyGroup, Story? story, StoryComponent? storyComponent)

StorylyView event callback

Implementation

typedef StorylyViewEventCallback = void Function(
  String event,
  StoryGroup? storyGroup,
  Story? story,
  StoryComponent? storyComponent,
);