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.
 
 
 
 
 
 

36 lines
1.1 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'base_list_data.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
BaseListData<T> _$BaseListDataFromJson<T>(
Map<String, dynamic> json,
T Function(Object? json) fromJsonT,
) =>
BaseListData<T>(
code: (json['code'] as num?)?.toInt(),
data: (json['data'] as List<dynamic>?)?.map(fromJsonT).toList(),
extra: json['extra'],
isSuccess: json['isSuccess'] as bool?,
msg: json['msg'] as String?,
path: json['path'] as String?,
timestamp: json['timestamp'] as String?,
)..isError = json['isError'] as bool?;
Map<String, dynamic> _$BaseListDataToJson<T>(
BaseListData<T> instance,
Object? Function(T value) toJsonT,
) =>
<String, dynamic>{
'code': instance.code,
'data': instance.data?.map(toJsonT).toList(),
'extra': instance.extra,
'isError': instance.isError,
'isSuccess': instance.isSuccess,
'msg': instance.msg,
'path': instance.path,
'timestamp': instance.timestamp,
};