// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'driver.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

DriverDTO _$DriverDTOFromJson(Map<String, dynamic> json) => DriverDTO(
  id: json['id'] as String,
  name: json['name'] as String,
  salutation: json['salutation'] as String,
  cars:
      (json['cars'] as List<dynamic>)
          .map((e) => CarDTO.fromJson(e as Map<String, dynamic>))
          .toList(),
);

Map<String, dynamic> _$DriverDTOToJson(DriverDTO instance) => <String, dynamic>{
  'id': instance.id,
  'name': instance.name,
  'salutation': instance.salutation,
  'cars': instance.cars,
};
