StoryEmojiComponent constructor Null safety

StoryEmojiComponent(
  1. {required String type,
  2. required String id,
  3. String? customPayload,
  4. required int selectedEmojiIndex,
  5. required List<String> emojiCodes}
)

Implementation

StoryEmojiComponent({
  required this.type,
  required this.id,
  this.customPayload,
  required this.selectedEmojiIndex,
  required this.emojiCodes,
});