ReactionType.emoji constructor
- @Assert('type == ReactionTypeType.emoji', 'type must be ReactionTypeType.emoji')
- @Default(ReactionTypeType.emoji) ReactionTypeType type,
- @JsonKey(name: 'emoji') required String emoji,
Regular emoji reaction
Implementation
@Assert(
'type == ReactionTypeType.emoji',
'type must be ReactionTypeType.emoji',
)
const factory ReactionType.emoji({
/// Type of the reaction, must be "emoji"
@Default(ReactionTypeType.emoji) ReactionTypeType type,
/// The reaction emoji.
///
/// Currently, it can be one of: "๐", "๐", "โค", "๐ฅ", "๐ฅฐ", "๐", "๐",
/// "๐ค", "๐คฏ", "๐ฑ", "๐คฌ", "๐ข", "๐", "๐คฉ", "๐คฎ", "๐ฉ", "๐", "๐", "๐",
/// "๐คก", "๐ฅฑ", "๐ฅด", "๐", "๐ณ", "โคโ๐ฅ", "๐", "๐ญ", "๐ฏ", "๐คฃ", "โก", "๐",
/// "๐", "๐", "๐คจ", "๐", "๐", "๐พ", "๐", "๐", "๐", "๐ด", "๐ญ", "๐ค",
/// "๐ป", "๐จโ๐ป", "๐", "๐", "๐", "๐", "๐จ", "๐ค", "โ", "๐ค", "๐ซก",
/// "๐
", "๐", "โ", "๐
", "๐คช", "๐ฟ", "๐", "๐", "๐", "๐ฆ", "๐", "๐",
/// "๐", "๐", "๐พ", "๐คทโโ", "๐คท", "๐คทโโ", "๐ก"
@JsonKey(name: 'emoji') required final String emoji,
}) = ReactionTypeEmoji;