toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (isPinned != null) {
_json[r'is_pinned'] = isPinned;
}
if (message != null) {
_json[r'message'] = message;
}
_json[r'file_ids'] = fileIds;
if (hasReactions != null) {
_json[r'has_reactions'] = hasReactions;
}
if (props != null) {
_json[r'props'] = props;
}
return _json;
}