You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'page_map.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
PageInfo _$PageInfoFromJson(Map<String, dynamic> json) => PageInfo(
|
||
|
pageNum: (json['pageNum'] as num?)?.toInt(),
|
||
|
current: json['current'],
|
||
|
pageSize: (json['pageSize'] as num?)?.toInt(),
|
||
|
size: json['size'],
|
||
|
pages: json['pages'],
|
||
|
hasPreviousPage: json['hasPreviousPage'] as bool?,
|
||
|
hasNextPage: json['hasNextPage'] as bool?,
|
||
|
total: json['total'] as String?,
|
||
|
list: (json['list'] as List<dynamic>?)
|
||
|
?.map((e) => e as Map<String, dynamic>)
|
||
|
.toList(),
|
||
|
records: (json['records'] as List<dynamic>?)
|
||
|
?.map((e) => e as Map<String, dynamic>)
|
||
|
.toList(),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$PageInfoToJson(PageInfo instance) => <String, dynamic>{
|
||
|
'pageNum': instance.pageNum,
|
||
|
'current': instance.current,
|
||
|
'pageSize': instance.pageSize,
|
||
|
'size': instance.size,
|
||
|
'pages': instance.pages,
|
||
|
'hasPreviousPage': instance.hasPreviousPage,
|
||
|
'hasNextPage': instance.hasNextPage,
|
||
|
'total': instance.total,
|
||
|
'list': instance.list,
|
||
|
'records': instance.records,
|
||
|
};
|