// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'user_benchmark_line.model.dart';

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

UserBenchmarkLine _$UserBenchmarkLineFromJson(Map<String, dynamic> json) {
  return UserBenchmarkLine()
    ..id = json['id'] as int
    ..user_benchmark_section_id = json['user_benchmark_section_id'] as int
    ..training_workout_line_id = json['training_workout_line_id'] as int
    ..val = json['val']==null ? null : json['val'].toString()
    ..units = json['units']==null ? null : json['units'] as String
    ..reps = json['reps']==null ? null : json['reps'].toString()
    ..created_at = json['created_at'] == null
        ? null
        : DateTime.parse(json['created_at'] as String)
    ..updated_at = json['updated_at'] == null
        ? null
        : DateTime.parse(json['updated_at'] as String);
}

Map<String, dynamic> _$UserBenchmarkLineToJson(UserBenchmarkLine instance) =>
    <String, dynamic>{
      'id': instance.id,
      'user_benchmark_section_id': instance.user_benchmark_section_id,
      'training_workout_line_id': instance.training_workout_line_id,
      'val': instance.val,
      'units': instance.units,
      'reps': instance.reps,
      'created_at': instance.created_at?.toIso8601String(),
      'updated_at': instance.updated_at?.toIso8601String(),
    };
