// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'NestModel.dart';

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

NestModel _$NestModelFromJson(Map<String, dynamic> json) {
  return NestModel(
    json['name'],
    json['email'],
    (json['childrens'] as List)
        ?.map((e) =>
            e == null ? null : NestModel.fromJson(e as Map<String, dynamic>))
        ?.toList(),
    json['nest'] == null
        ? null
        : NestModel.fromJson(json['nest'] as Map<String, dynamic>),
  );
}

Map<String, dynamic> _$NestModelToJson(NestModel instance) => <String, dynamic>{
      'name': instance.name,
      'email': instance.email,
      'childrens': instance.childrens,
      'nest': instance.nest,
    };
