feat: member search dynamic

This commit is contained in:
guozhigq
2024-12-14 18:32:20 +08:00
parent 088cb08d99
commit a21b87ab5a
7 changed files with 446 additions and 198 deletions

View File

@ -5,10 +5,12 @@ class DynamicsDataModel {
this.hasMore,
this.items,
this.offset,
this.total,
});
bool? hasMore;
List<DynamicItemModel>? items;
String? offset;
int? total;
DynamicsDataModel.fromJson(Map<String, dynamic> json) {
hasMore = json['has_more'];
@ -16,6 +18,7 @@ class DynamicsDataModel {
.map<DynamicItemModel>((e) => DynamicItemModel.fromJson(e))
.toList();
offset = json['offset'];
total = json['total'];
}
}