// GENERATED CODE - DO NOT MODIFY BY HAND part of 'page.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** PageInfo _$PageInfoFromJson( Map json, T Function(Object? json) fromJsonT, ) => 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?)?.map(fromJsonT).toList(), records: (json['records'] as List?)?.map(fromJsonT).toList(), ); Map _$PageInfoToJson( PageInfo instance, Object? Function(T value) toJsonT, ) => { '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?.map(toJsonT).toList(), 'records': instance.records?.map(toJsonT).toList(), };