12345678910111213141516171819202122232425262728293031323334353637383940 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- part of 'api_rsp.dart';
- // **************************************************************************
- // JsonSerializableGenerator
- // **************************************************************************
- ApiRsp<T> _$ApiRspFromJson<T>(
- Map<String, dynamic> json,
- T Function(Object? json) fromJsonT,
- ) =>
- ApiRsp<T>(
- code: const NumConverter().fromJson(json['code']),
- data: _$nullableGenericFromJson(json['data'], fromJsonT),
- string: const StringConverter().fromJson(json['string']),
- );
- Map<String, dynamic> _$ApiRspToJson<T>(
- ApiRsp<T> instance,
- Object? Function(T value) toJsonT,
- ) =>
- <String, dynamic>{
- 'code': const NumConverter().toJson(instance.code),
- 'data': _$nullableGenericToJson(instance.data, toJsonT),
- 'string': const StringConverter().toJson(instance.string),
- };
- T? _$nullableGenericFromJson<T>(
- Object? input,
- T Function(Object? json) fromJson,
- ) =>
- input == null ? null : fromJson(input);
- Object? _$nullableGenericToJson<T>(
- T? input,
- Object? Function(T value) toJson,
- ) =>
- input == null ? null : toJson(input);
|