2024-12-12 14:21:13 +04:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'car_dto.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
CarDto _$CarDtoFromJson(Map<String, dynamic> json) => CarDto(
|
2024-12-17 10:07:39 +04:00
|
|
|
data: (json['Results'] as List<dynamic>?)
|
2024-12-21 17:59:31 +04:00
|
|
|
?.map((e) => CarAttributesResultDto.fromJson(e as Map<String, dynamic>))
|
2024-12-12 14:21:13 +04:00
|
|
|
.toList(),
|
2024-12-19 13:33:07 +04:00
|
|
|
count: (json['Count'] as num?)?.toInt(),
|
|
|
|
message: json['Message'] as String?,
|
|
|
|
searchCriteria: json['SearchCriteria'] as String?,
|
2024-12-12 14:21:13 +04:00
|
|
|
);
|
|
|
|
|
2024-12-21 17:59:31 +04:00
|
|
|
CarAttributesResultDto _$CarAttributesResultDtoFromJson(Map<String, dynamic> json) =>
|
2024-12-12 14:21:13 +04:00
|
|
|
CarAttributesResultDto(
|
2024-12-18 12:16:19 +04:00
|
|
|
id: (json['Model_ID'] as num?)?.toInt(),
|
2024-12-12 14:21:13 +04:00
|
|
|
makeName: json['Make_Name'] as String?,
|
|
|
|
modelName: json['Model_Name'] as String?,
|
|
|
|
);
|