// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'details_bean.dart';

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

DetailsBean _$DetailsBeanFromJson(Map<String, dynamic> json) => DetailsBean(
      (json['id'] as num?)?.toInt(),
      json['name'] as String?,
      (json['odfPortsList'] as List<dynamic>)
          .map((e) => PortListBean.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$DetailsBeanToJson(DetailsBean instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'odfPortsList': instance.odfPortsList.map((e) => e.toJson()).toList(),
    };
