// GENERATED CODE - DO NOT MODIFY BY HAND part of 'base_data.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** BaseData _$BaseDataFromJson( Map json, T Function(Object? json) fromJsonT, ) => BaseData( code: (json['code'] as num?)?.toInt(), data: _$nullableGenericFromJson(json['data'], fromJsonT), 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 _$BaseDataToJson( BaseData instance, Object? Function(T value) toJsonT, ) => { 'code': instance.code, 'data': _$nullableGenericToJson(instance.data, toJsonT), 'extra': instance.extra, 'isError': instance.isError, 'isSuccess': instance.isSuccess, 'msg': instance.msg, 'path': instance.path, 'timestamp': instance.timestamp, }; T? _$nullableGenericFromJson( Object? input, T Function(Object? json) fromJson, ) => input == null ? null : fromJson(input); Object? _$nullableGenericToJson( T? input, Object? Function(T value) toJson, ) => input == null ? null : toJson(input);