gzkj_response.g.dart 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'gzkj_response.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. GzkjResponse<T> _$GzkjResponseFromJson<T>(
  7. Map<String, dynamic> json,
  8. T Function(Object? json) fromJsonT,
  9. ) =>
  10. GzkjResponse<T>(
  11. success: json['success'] as bool?,
  12. messagecode: json['messagecode'] as String?,
  13. message: json['message'] as String?,
  14. data: _$nullableGenericFromJson(json['data'], fromJsonT),
  15. );
  16. Map<String, dynamic> _$GzkjResponseToJson<T>(
  17. GzkjResponse<T> instance,
  18. Object? Function(T value) toJsonT,
  19. ) =>
  20. <String, dynamic>{
  21. 'success': instance.success,
  22. 'messagecode': instance.messagecode,
  23. 'message': instance.message,
  24. 'data': _$nullableGenericToJson(instance.data, toJsonT),
  25. };
  26. T? _$nullableGenericFromJson<T>(
  27. Object? input,
  28. T Function(Object? json) fromJson,
  29. ) =>
  30. input == null ? null : fromJson(input);
  31. Object? _$nullableGenericToJson<T>(
  32. T? input,
  33. Object? Function(T value) toJson,
  34. ) =>
  35. input == null ? null : toJson(input);