dreampad/lib/app/models/page_result_model.dart

14 lines
209 B
Dart
Raw Permalink Normal View History

2023-11-28 10:44:58 +08:00
class PageResult<T> {
int? total;
T? list;
PageResult({
this.total,
this.list,
});
PageResult.fromJson(Map<String, dynamic> json) {
total = json['total'];
list = json['list'];
}
}