create static method
return original data json
Implementation
static Emoji create({
bool schemeUtilsIsSetDefaultData = false,
String special_type = "emoji",
}) {
// Emoji emoji = Emoji({
final Map emoji_data_create_json = {
"@type": special_type,
};
emoji_data_create_json.removeWhere((key, value) => value == null);
if (schemeUtilsIsSetDefaultData) {
defaultData.forEach((key, value) {
if (emoji_data_create_json.containsKey(key) == false) {
emoji_data_create_json[key] = value;
}
});
}
return Emoji(emoji_data_create_json);
}