// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'new_search_bean.dart';

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

NewSearchBean _$NewSearchBeanFromJson(Map<String, dynamic> json) =>
    NewSearchBean(
      (json['rooms'] as List<dynamic>)
          .map((e) => NewSearchRoomBean.fromJson(e as Map<String, dynamic>))
          .toList(),
      json['ports'] == null
          ? null
          : SearchBean.fromJson(json['ports'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$NewSearchBeanToJson(NewSearchBean instance) =>
    <String, dynamic>{
      'rooms': instance.rooms.map((e) => e.toJson()).toList(),
      'ports': instance.ports?.toJson(),
    };
