14 lines
209 B
Dart
14 lines
209 B
Dart
class PageResult<T> {
|
|
int? total;
|
|
T? list;
|
|
|
|
PageResult({
|
|
this.total,
|
|
this.list,
|
|
});
|
|
|
|
PageResult.fromJson(Map<String, dynamic> json) {
|
|
total = json['total'];
|
|
list = json['list'];
|
|
}
|
|
} |