我想在Flutter应用中向Google Cloud Firestore添加对象,如下所示:

我已经做了一个Reply类:
class Reply {
Reply(this.replyName, this.replyText, this.replyVotes);
final String replyName;
final String replyText;
final String replyVotes;
String getName() {
return replyName;
}
String getText() {
return replyText;
}
String getVotes() {
return replyVotes;
}
}
Run Code Online (Sandbox Code Playgroud)
如何将Reply对象添加到Cloud Firestore?
编辑:
只是为了澄清,我想创建一个具有Object其中包含字段的数据类型的字段:Reply Object Image