fromJson static method
Parse Emoji from json
Implementation
static Emoji fromJson(Map<String, dynamic> json) {
return Emoji(
json['name'] as String,
json['emoji'] as String,
hasSkinTone:
json['hasSkinTone'] != null ? json['hasSkinTone'] as bool : false,
);
}