// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'grade_averages_state.dart';

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

_GradeAveragesState _$GradeAveragesStateFromJson(Map<String, dynamic> json) =>
    _GradeAveragesState(
      gradingSystem: $enumDecode(
        _$GradeAveragesGradingSystemEnumMap,
        json['gradingSystem'],
      ),
      grades: (json['grades'] as List<dynamic>)
          .map((e) => (e as num).toInt())
          .toList(),
    );

Map<String, dynamic> _$GradeAveragesStateToJson(
  _GradeAveragesState instance,
) => <String, dynamic>{
  'gradingSystem': _$GradeAveragesGradingSystemEnumMap[instance.gradingSystem]!,
  'grades': instance.grades,
};

const _$GradeAveragesGradingSystemEnumMap = {
  GradeAveragesGradingSystem.highSchool: 'highSchool',
  GradeAveragesGradingSystem.middleSchool: 'middleSchool',
};
