Media constructor Null safety

Media(
  1. {required int type,
  2. List<StoryComponent?>? storyComponentList,
  3. List<String>? actionUrlList,
  4. String? actionUrl,
  5. String? previewUrl}
)

Implementation

Media({
  required this.type,
  this.storyComponentList,
  this.actionUrlList,
  this.actionUrl,
  this.previewUrl,
});