StoryItem constructor
const
StoryItem({
- required String url,
- List? viewers,
- required StoryItemType type,
- int? duration = 3,
Implementation
const StoryItem(
{required this.url, this.viewers, required this.type, this.duration = 3});