mirrored_repositories/OpenWeatherPlus-Flutter/lib
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'state.dart';

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

WeatherState _$WeatherStateFromJson(Map<String, dynamic> json) {
  return WeatherState(
    locationStates: (json['locationStates'] as List)
        ?.map((e) => e == null
            ? null
            : LocationState.fromJson(e as Map<String, dynamic>))
        ?.toList(),
  );
}

Map<String, dynamic> _$WeatherStateToJson(WeatherState instance) =>
    <String, dynamic>{
      'locationStates': instance.locationStates,
    };
