// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'training_maxes.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

T _$identity<T>(T value) => value;

final _privateConstructorUsedError = UnsupportedError(
    'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');

TrainingMaxes _$TrainingMaxesFromJson(Map<String, dynamic> json) {
  return _TrainingMaxes.fromJson(json);
}

/// @nodoc
mixin _$TrainingMaxes {
  double get squat => throw _privateConstructorUsedError;
  double get pullup => throw _privateConstructorUsedError;
  double get dip => throw _privateConstructorUsedError;

  /// Serializes this TrainingMaxes to a JSON map.
  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;

  /// Create a copy of TrainingMaxes
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $TrainingMaxesCopyWith<TrainingMaxes> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $TrainingMaxesCopyWith<$Res> {
  factory $TrainingMaxesCopyWith(
          TrainingMaxes value, $Res Function(TrainingMaxes) then) =
      _$TrainingMaxesCopyWithImpl<$Res, TrainingMaxes>;
  @useResult
  $Res call({double squat, double pullup, double dip});
}

/// @nodoc
class _$TrainingMaxesCopyWithImpl<$Res, $Val extends TrainingMaxes>
    implements $TrainingMaxesCopyWith<$Res> {
  _$TrainingMaxesCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of TrainingMaxes
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? squat = null,
    Object? pullup = null,
    Object? dip = null,
  }) {
    return _then(_value.copyWith(
      squat: null == squat
          ? _value.squat
          : squat // ignore: cast_nullable_to_non_nullable
              as double,
      pullup: null == pullup
          ? _value.pullup
          : pullup // ignore: cast_nullable_to_non_nullable
              as double,
      dip: null == dip
          ? _value.dip
          : dip // ignore: cast_nullable_to_non_nullable
              as double,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$TrainingMaxesImplCopyWith<$Res>
    implements $TrainingMaxesCopyWith<$Res> {
  factory _$$TrainingMaxesImplCopyWith(
          _$TrainingMaxesImpl value, $Res Function(_$TrainingMaxesImpl) then) =
      __$$TrainingMaxesImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({double squat, double pullup, double dip});
}

/// @nodoc
class __$$TrainingMaxesImplCopyWithImpl<$Res>
    extends _$TrainingMaxesCopyWithImpl<$Res, _$TrainingMaxesImpl>
    implements _$$TrainingMaxesImplCopyWith<$Res> {
  __$$TrainingMaxesImplCopyWithImpl(
      _$TrainingMaxesImpl _value, $Res Function(_$TrainingMaxesImpl) _then)
      : super(_value, _then);

  /// Create a copy of TrainingMaxes
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? squat = null,
    Object? pullup = null,
    Object? dip = null,
  }) {
    return _then(_$TrainingMaxesImpl(
      squat: null == squat
          ? _value.squat
          : squat // ignore: cast_nullable_to_non_nullable
              as double,
      pullup: null == pullup
          ? _value.pullup
          : pullup // ignore: cast_nullable_to_non_nullable
              as double,
      dip: null == dip
          ? _value.dip
          : dip // ignore: cast_nullable_to_non_nullable
              as double,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$TrainingMaxesImpl implements _TrainingMaxes {
  const _$TrainingMaxesImpl(
      {this.squat = 0.0, this.pullup = 0.0, this.dip = 0.0});

  factory _$TrainingMaxesImpl.fromJson(Map<String, dynamic> json) =>
      _$$TrainingMaxesImplFromJson(json);

  @override
  @JsonKey()
  final double squat;
  @override
  @JsonKey()
  final double pullup;
  @override
  @JsonKey()
  final double dip;

  @override
  String toString() {
    return 'TrainingMaxes(squat: $squat, pullup: $pullup, dip: $dip)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$TrainingMaxesImpl &&
            (identical(other.squat, squat) || other.squat == squat) &&
            (identical(other.pullup, pullup) || other.pullup == pullup) &&
            (identical(other.dip, dip) || other.dip == dip));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, squat, pullup, dip);

  /// Create a copy of TrainingMaxes
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$TrainingMaxesImplCopyWith<_$TrainingMaxesImpl> get copyWith =>
      __$$TrainingMaxesImplCopyWithImpl<_$TrainingMaxesImpl>(this, _$identity);

  @override
  Map<String, dynamic> toJson() {
    return _$$TrainingMaxesImplToJson(
      this,
    );
  }
}

abstract class _TrainingMaxes implements TrainingMaxes {
  const factory _TrainingMaxes(
      {final double squat,
      final double pullup,
      final double dip}) = _$TrainingMaxesImpl;

  factory _TrainingMaxes.fromJson(Map<String, dynamic> json) =
      _$TrainingMaxesImpl.fromJson;

  @override
  double get squat;
  @override
  double get pullup;
  @override
  double get dip;

  /// Create a copy of TrainingMaxes
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$TrainingMaxesImplCopyWith<_$TrainingMaxesImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
