fromMap static method
override
Construct from Map.
Implementation
static EmojiCategoryType? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'emojiCategoryTypeChatPhoto':
return EmojiCategoryTypeChatPhoto.fromMap(_map);
case 'emojiCategoryTypeDefault':
return EmojiCategoryTypeDefault.fromMap(_map);
case 'emojiCategoryTypeEmojiStatus':
return EmojiCategoryTypeEmojiStatus.fromMap(_map);
case null:
default:
return null;
}
}