StoryComponent constructor Null safety

StoryComponent(
  1. String type,
  2. String id
)

Implementation

StoryComponent(this.type, this.id);