Story constructor

Story({
  1. required String id,
  2. required String title,
  3. required int index,
  4. required bool seen,
  5. required int currentTime,
  6. String? previewUrl,
  7. String? actionUrl,
  8. List<STRProductItem>? products,
  9. String? name,
  10. List<StoryComponent?>? storyComponentList,
})

Implementation

Story(
    {required this.id,
    required this.title,
    required this.index,
    required this.seen,
    required this.currentTime,
    this.previewUrl,
    this.actionUrl,
    this.products,
    this.name,
    this.storyComponentList});