toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'custom'] = this.custom;
if (this.emojiCode != null) {
json[r'emoji_code'] = this.emojiCode;
} else {
json[r'emoji_code'] = null;
}
json[r'type'] = this.type;
return json;
}