toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
_json[r'emoji'] = emoji;
_json[r'text'] = text;
if (duration != null) {
_json[r'duration'] = duration;
}
if (expiresAt != null) {
_json[r'expires_at'] = expiresAt;
}
return _json;
}