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;
json[r'user'] = this.user;
return json;
}