StoryEmojiComponent class Null safety

This data class represents the Emoji component.

Implemented types

Constructors

StoryEmojiComponent({required String type, required String id, String? customPayload, required int selectedEmojiIndex, required List<String> emojiCodes})
StoryEmojiComponent.fromJson(Map<String, dynamic> json)
factory

Properties

customPayload String?
customPayload Custom payload for this emoji if exists
final
emojiCodes List<String>
emojiCodes List of the emojis in the component
final
hashCode int
The hash code for this object.
read-onlyinherited
id String
id of the interactive component
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selectedEmojiIndex int
selectedEmojiIndex Emoji index that the user selected
final
type String
type Type of the interactive component
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited