30 lines
1022 B
Dart
30 lines
1022 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'car_dto.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
CarDto _$CarDtoFromJson(Map<String, dynamic> json) => CarDto(
|
|
result: (json['result'] as List<dynamic>?)
|
|
?.map((e) => CarResultDto.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
|
|
CarResultDto _$CarResultDtoFromJson(Map<String, dynamic> json) => CarResultDto(
|
|
id: json['id'] as String?,
|
|
attributes: json['attributes'] == null
|
|
? null
|
|
: CarAttributesResultDto.fromJson(
|
|
json['attributes'] as Map<String, dynamic>),
|
|
);
|
|
|
|
CarAttributesResultDto _$CarAttributesResultDtoFromJson(
|
|
Map<String, dynamic> json) =>
|
|
CarAttributesResultDto(
|
|
modelid: json['Model_ID'] as String?,
|
|
makename: json['Make_Name'] as String?,
|
|
modelname: json['Model_Name'] as String?,
|
|
);
|