// GENERATED CODE - DO NOT MODIFY BY HAND part of 'api_response.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ApiResponse _$ApiResponseFromJson( Map json, T Function(Object? json) fromJsonT, ) => ApiResponse() ..data = _$nullableGenericFromJson(json['data'], fromJsonT) ..code = (json['code'] as num).toInt() ..msg = json['msg'] as String; Map _$ApiResponseToJson( ApiResponse instance, Object? Function(T value) toJsonT, ) => { 'data': _$nullableGenericToJson(instance.data, toJsonT), 'code': instance.code, 'msg': instance.msg, }; 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);