// GENERATED CODE - DO NOT MODIFY BY HAND part of 'page_list.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** PageList _$PageListFromJson( Map json, T Function(Object? json) fromJsonT, ) => PageList( records: (json['records'] as List?)?.map(fromJsonT).toList(), total: json['total'] as String?, size: json['size'] as String?, current: json['current'] as String?, orders: (json['orders'] as List?) ?.map((e) => Orders.fromJson(e as Map)) .toList(), hitCount: json['hitCount'] as bool?, searchCount: json['searchCount'] as bool?, pages: json['pages'] as String?, ); Map _$PageListToJson( PageList instance, Object? Function(T value) toJsonT, ) => { 'records': instance.records?.map(toJsonT).toList(), 'total': instance.total, 'size': instance.size, 'current': instance.current, 'orders': instance.orders?.map((e) => e.toJson()).toList(), 'hitCount': instance.hitCount, 'searchCount': instance.searchCount, 'pages': instance.pages, }; Orders _$OrdersFromJson(Map json) => Orders() ..column = json['column'] as String? ..asc = json['asc'] as bool?; Map _$OrdersToJson(Orders instance) => { 'column': instance.column, 'asc': instance.asc, };