// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'exercise_benchmark.model.dart';

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


ExerciseBenchmark _$ExerciseBenchmarkFromJson(Map<String, dynamic> json) {
  return ExerciseBenchmark()
    ..benchmarks = (json['benchmarks'] as List)
        ?.map((e) =>
            e == null ? null : UserBenchmark.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..workouts = (json['workouts'] as List)
        ?.map((e) =>
            e == null ? null : TrainingWorkout.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..graph = (json['graph'] as List)
        ?.map((e) =>
            e == null ? null : Map<String, dynamic>.from(e as Map<String, dynamic>))
        ?.toList();
}

Map<String, dynamic> _$ExerciseBenchmarkToJson(ExerciseBenchmark instance) => <String, dynamic>{
      'benchmarks': instance.benchmarks,
      'workouts': instance.workouts,
      'graph': instance.graph
    };
