// GENERATED CODE - DO NOT MODIFY BY HAND part of 'bluetooth_device_model.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _BluetoothDeviceModel _$BluetoothDeviceModelFromJson( Map json) => _BluetoothDeviceModel( id: json['id'] as String, name: json['name'] as String?, address: json['address'] as String, type: $enumDecodeNullable(_$DeviceTypeEnumMap, json['type']) ?? DeviceType.other, manufacturerData: json['manufacturerData'] as Map?, deviceIdent: const DeviceIdentJsonConverter() .fromJson(json['deviceIdent'] as String), ); Map _$BluetoothDeviceModelToJson( _BluetoothDeviceModel instance) => { 'id': instance.id, 'name': instance.name, 'address': instance.address, 'type': _$DeviceTypeEnumMap[instance.type]!, 'manufacturerData': instance.manufacturerData, 'deviceIdent': const DeviceIdentJsonConverter().toJson(instance.deviceIdent), }; const _$DeviceTypeEnumMap = { DeviceType.universalShifters: 'universalShifters', DeviceType.other: 'other', };