feat:增加朋友圈表单功能

This commit is contained in:
2025-11-19 20:04:45 +08:00
parent 07180965cc
commit 5151430132
5 changed files with 176 additions and 3 deletions

View File

@@ -50,6 +50,14 @@ class Moment {
factory Moment.fromJson(Map<String, dynamic> json) => _$MomentFromJson(json);
Map<String, dynamic> toJson() => _$MomentToJson(this);
static Moment getEmpty() {
return Moment(
id: 0,
content: '',
imageList: []
);
}
}
@JsonSerializable()