// 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 'ico_stats_model.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');

IcoStatsModel _$IcoStatsModelFromJson(Map<String, dynamic> json) {
  return _IcoStatsModel.fromJson(json);
}

/// @nodoc
mixin _$IcoStatsModel {
  double get totalRaised => throw _privateConstructorUsedError;
  double get raisedGrowth => throw _privateConstructorUsedError;
  int get successfulOfferings => throw _privateConstructorUsedError;
  double get offeringsGrowth => throw _privateConstructorUsedError;
  int get totalInvestors => throw _privateConstructorUsedError;
  double get investorsGrowth => throw _privateConstructorUsedError;
  double get averageROI => throw _privateConstructorUsedError;
  double get roiGrowth => throw _privateConstructorUsedError;

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

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

/// @nodoc
abstract class $IcoStatsModelCopyWith<$Res> {
  factory $IcoStatsModelCopyWith(
          IcoStatsModel value, $Res Function(IcoStatsModel) then) =
      _$IcoStatsModelCopyWithImpl<$Res, IcoStatsModel>;
  @useResult
  $Res call(
      {double totalRaised,
      double raisedGrowth,
      int successfulOfferings,
      double offeringsGrowth,
      int totalInvestors,
      double investorsGrowth,
      double averageROI,
      double roiGrowth});
}

/// @nodoc
class _$IcoStatsModelCopyWithImpl<$Res, $Val extends IcoStatsModel>
    implements $IcoStatsModelCopyWith<$Res> {
  _$IcoStatsModelCopyWithImpl(this._value, this._then);

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

  /// Create a copy of IcoStatsModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? totalRaised = null,
    Object? raisedGrowth = null,
    Object? successfulOfferings = null,
    Object? offeringsGrowth = null,
    Object? totalInvestors = null,
    Object? investorsGrowth = null,
    Object? averageROI = null,
    Object? roiGrowth = null,
  }) {
    return _then(_value.copyWith(
      totalRaised: null == totalRaised
          ? _value.totalRaised
          : totalRaised // ignore: cast_nullable_to_non_nullable
              as double,
      raisedGrowth: null == raisedGrowth
          ? _value.raisedGrowth
          : raisedGrowth // ignore: cast_nullable_to_non_nullable
              as double,
      successfulOfferings: null == successfulOfferings
          ? _value.successfulOfferings
          : successfulOfferings // ignore: cast_nullable_to_non_nullable
              as int,
      offeringsGrowth: null == offeringsGrowth
          ? _value.offeringsGrowth
          : offeringsGrowth // ignore: cast_nullable_to_non_nullable
              as double,
      totalInvestors: null == totalInvestors
          ? _value.totalInvestors
          : totalInvestors // ignore: cast_nullable_to_non_nullable
              as int,
      investorsGrowth: null == investorsGrowth
          ? _value.investorsGrowth
          : investorsGrowth // ignore: cast_nullable_to_non_nullable
              as double,
      averageROI: null == averageROI
          ? _value.averageROI
          : averageROI // ignore: cast_nullable_to_non_nullable
              as double,
      roiGrowth: null == roiGrowth
          ? _value.roiGrowth
          : roiGrowth // ignore: cast_nullable_to_non_nullable
              as double,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$IcoStatsModelImplCopyWith<$Res>
    implements $IcoStatsModelCopyWith<$Res> {
  factory _$$IcoStatsModelImplCopyWith(
          _$IcoStatsModelImpl value, $Res Function(_$IcoStatsModelImpl) then) =
      __$$IcoStatsModelImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {double totalRaised,
      double raisedGrowth,
      int successfulOfferings,
      double offeringsGrowth,
      int totalInvestors,
      double investorsGrowth,
      double averageROI,
      double roiGrowth});
}

/// @nodoc
class __$$IcoStatsModelImplCopyWithImpl<$Res>
    extends _$IcoStatsModelCopyWithImpl<$Res, _$IcoStatsModelImpl>
    implements _$$IcoStatsModelImplCopyWith<$Res> {
  __$$IcoStatsModelImplCopyWithImpl(
      _$IcoStatsModelImpl _value, $Res Function(_$IcoStatsModelImpl) _then)
      : super(_value, _then);

  /// Create a copy of IcoStatsModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? totalRaised = null,
    Object? raisedGrowth = null,
    Object? successfulOfferings = null,
    Object? offeringsGrowth = null,
    Object? totalInvestors = null,
    Object? investorsGrowth = null,
    Object? averageROI = null,
    Object? roiGrowth = null,
  }) {
    return _then(_$IcoStatsModelImpl(
      totalRaised: null == totalRaised
          ? _value.totalRaised
          : totalRaised // ignore: cast_nullable_to_non_nullable
              as double,
      raisedGrowth: null == raisedGrowth
          ? _value.raisedGrowth
          : raisedGrowth // ignore: cast_nullable_to_non_nullable
              as double,
      successfulOfferings: null == successfulOfferings
          ? _value.successfulOfferings
          : successfulOfferings // ignore: cast_nullable_to_non_nullable
              as int,
      offeringsGrowth: null == offeringsGrowth
          ? _value.offeringsGrowth
          : offeringsGrowth // ignore: cast_nullable_to_non_nullable
              as double,
      totalInvestors: null == totalInvestors
          ? _value.totalInvestors
          : totalInvestors // ignore: cast_nullable_to_non_nullable
              as int,
      investorsGrowth: null == investorsGrowth
          ? _value.investorsGrowth
          : investorsGrowth // ignore: cast_nullable_to_non_nullable
              as double,
      averageROI: null == averageROI
          ? _value.averageROI
          : averageROI // ignore: cast_nullable_to_non_nullable
              as double,
      roiGrowth: null == roiGrowth
          ? _value.roiGrowth
          : roiGrowth // ignore: cast_nullable_to_non_nullable
              as double,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$IcoStatsModelImpl extends _IcoStatsModel {
  const _$IcoStatsModelImpl(
      {required this.totalRaised,
      required this.raisedGrowth,
      required this.successfulOfferings,
      required this.offeringsGrowth,
      required this.totalInvestors,
      required this.investorsGrowth,
      required this.averageROI,
      required this.roiGrowth})
      : super._();

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

  @override
  final double totalRaised;
  @override
  final double raisedGrowth;
  @override
  final int successfulOfferings;
  @override
  final double offeringsGrowth;
  @override
  final int totalInvestors;
  @override
  final double investorsGrowth;
  @override
  final double averageROI;
  @override
  final double roiGrowth;

  @override
  String toString() {
    return 'IcoStatsModel(totalRaised: $totalRaised, raisedGrowth: $raisedGrowth, successfulOfferings: $successfulOfferings, offeringsGrowth: $offeringsGrowth, totalInvestors: $totalInvestors, investorsGrowth: $investorsGrowth, averageROI: $averageROI, roiGrowth: $roiGrowth)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$IcoStatsModelImpl &&
            (identical(other.totalRaised, totalRaised) ||
                other.totalRaised == totalRaised) &&
            (identical(other.raisedGrowth, raisedGrowth) ||
                other.raisedGrowth == raisedGrowth) &&
            (identical(other.successfulOfferings, successfulOfferings) ||
                other.successfulOfferings == successfulOfferings) &&
            (identical(other.offeringsGrowth, offeringsGrowth) ||
                other.offeringsGrowth == offeringsGrowth) &&
            (identical(other.totalInvestors, totalInvestors) ||
                other.totalInvestors == totalInvestors) &&
            (identical(other.investorsGrowth, investorsGrowth) ||
                other.investorsGrowth == investorsGrowth) &&
            (identical(other.averageROI, averageROI) ||
                other.averageROI == averageROI) &&
            (identical(other.roiGrowth, roiGrowth) ||
                other.roiGrowth == roiGrowth));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(
      runtimeType,
      totalRaised,
      raisedGrowth,
      successfulOfferings,
      offeringsGrowth,
      totalInvestors,
      investorsGrowth,
      averageROI,
      roiGrowth);

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

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

abstract class _IcoStatsModel extends IcoStatsModel {
  const factory _IcoStatsModel(
      {required final double totalRaised,
      required final double raisedGrowth,
      required final int successfulOfferings,
      required final double offeringsGrowth,
      required final int totalInvestors,
      required final double investorsGrowth,
      required final double averageROI,
      required final double roiGrowth}) = _$IcoStatsModelImpl;
  const _IcoStatsModel._() : super._();

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

  @override
  double get totalRaised;
  @override
  double get raisedGrowth;
  @override
  int get successfulOfferings;
  @override
  double get offeringsGrowth;
  @override
  int get totalInvestors;
  @override
  double get investorsGrowth;
  @override
  double get averageROI;
  @override
  double get roiGrowth;

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