reply property
Implementation
Map<String, dynamic>? get reply {
String uri = widget.post!.uri;
String cid = widget.post!.cid;
Map<String, dynamic>? root = {"uri": uri, "cid": cid};
Map<String, dynamic>? parent = {"uri": uri, "cid": cid};
RecordReply? recordReply = widget.post!.record.reply;
if (recordReply != null) {
root = recordReply.root;
}
return {
"reply": {"root": root, "parent": parent}
};
}