fromJson static method
Inherited by: EmojiStatusTypeCustomEmoji EmojiStatusTypeUpgradedGift
Implementation
static EmojiStatusTypeCustomEmoji? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return EmojiStatusTypeCustomEmoji(
customEmojiId:
int.tryParse(
(json['custom_emoji_id'] as dynamic)?.toString() ?? '',
) ??
0,
);
}