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

TickerModel _$TickerModelFromJson(Map<String, dynamic> json) {
  return _TickerModel.fromJson(json);
}

/// @nodoc
mixin _$TickerModel {
  String get symbol => throw _privateConstructorUsedError;
  double? get last => throw _privateConstructorUsedError;
  double? get baseVolume => throw _privateConstructorUsedError;
  double? get quoteVolume => throw _privateConstructorUsedError;
  double? get change => throw _privateConstructorUsedError;
  double? get bid => throw _privateConstructorUsedError;
  double? get ask => throw _privateConstructorUsedError;
  double? get high => throw _privateConstructorUsedError;
  double? get low => throw _privateConstructorUsedError;
  double? get open => throw _privateConstructorUsedError;
  double? get close => throw _privateConstructorUsedError;

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

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

/// @nodoc
abstract class $TickerModelCopyWith<$Res> {
  factory $TickerModelCopyWith(
          TickerModel value, $Res Function(TickerModel) then) =
      _$TickerModelCopyWithImpl<$Res, TickerModel>;
  @useResult
  $Res call(
      {String symbol,
      double? last,
      double? baseVolume,
      double? quoteVolume,
      double? change,
      double? bid,
      double? ask,
      double? high,
      double? low,
      double? open,
      double? close});
}

/// @nodoc
class _$TickerModelCopyWithImpl<$Res, $Val extends TickerModel>
    implements $TickerModelCopyWith<$Res> {
  _$TickerModelCopyWithImpl(this._value, this._then);

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

  /// Create a copy of TickerModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? symbol = null,
    Object? last = freezed,
    Object? baseVolume = freezed,
    Object? quoteVolume = freezed,
    Object? change = freezed,
    Object? bid = freezed,
    Object? ask = freezed,
    Object? high = freezed,
    Object? low = freezed,
    Object? open = freezed,
    Object? close = freezed,
  }) {
    return _then(_value.copyWith(
      symbol: null == symbol
          ? _value.symbol
          : symbol // ignore: cast_nullable_to_non_nullable
              as String,
      last: freezed == last
          ? _value.last
          : last // ignore: cast_nullable_to_non_nullable
              as double?,
      baseVolume: freezed == baseVolume
          ? _value.baseVolume
          : baseVolume // ignore: cast_nullable_to_non_nullable
              as double?,
      quoteVolume: freezed == quoteVolume
          ? _value.quoteVolume
          : quoteVolume // ignore: cast_nullable_to_non_nullable
              as double?,
      change: freezed == change
          ? _value.change
          : change // ignore: cast_nullable_to_non_nullable
              as double?,
      bid: freezed == bid
          ? _value.bid
          : bid // ignore: cast_nullable_to_non_nullable
              as double?,
      ask: freezed == ask
          ? _value.ask
          : ask // ignore: cast_nullable_to_non_nullable
              as double?,
      high: freezed == high
          ? _value.high
          : high // ignore: cast_nullable_to_non_nullable
              as double?,
      low: freezed == low
          ? _value.low
          : low // ignore: cast_nullable_to_non_nullable
              as double?,
      open: freezed == open
          ? _value.open
          : open // ignore: cast_nullable_to_non_nullable
              as double?,
      close: freezed == close
          ? _value.close
          : close // ignore: cast_nullable_to_non_nullable
              as double?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$TickerModelImplCopyWith<$Res>
    implements $TickerModelCopyWith<$Res> {
  factory _$$TickerModelImplCopyWith(
          _$TickerModelImpl value, $Res Function(_$TickerModelImpl) then) =
      __$$TickerModelImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {String symbol,
      double? last,
      double? baseVolume,
      double? quoteVolume,
      double? change,
      double? bid,
      double? ask,
      double? high,
      double? low,
      double? open,
      double? close});
}

/// @nodoc
class __$$TickerModelImplCopyWithImpl<$Res>
    extends _$TickerModelCopyWithImpl<$Res, _$TickerModelImpl>
    implements _$$TickerModelImplCopyWith<$Res> {
  __$$TickerModelImplCopyWithImpl(
      _$TickerModelImpl _value, $Res Function(_$TickerModelImpl) _then)
      : super(_value, _then);

  /// Create a copy of TickerModel
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? symbol = null,
    Object? last = freezed,
    Object? baseVolume = freezed,
    Object? quoteVolume = freezed,
    Object? change = freezed,
    Object? bid = freezed,
    Object? ask = freezed,
    Object? high = freezed,
    Object? low = freezed,
    Object? open = freezed,
    Object? close = freezed,
  }) {
    return _then(_$TickerModelImpl(
      symbol: null == symbol
          ? _value.symbol
          : symbol // ignore: cast_nullable_to_non_nullable
              as String,
      last: freezed == last
          ? _value.last
          : last // ignore: cast_nullable_to_non_nullable
              as double?,
      baseVolume: freezed == baseVolume
          ? _value.baseVolume
          : baseVolume // ignore: cast_nullable_to_non_nullable
              as double?,
      quoteVolume: freezed == quoteVolume
          ? _value.quoteVolume
          : quoteVolume // ignore: cast_nullable_to_non_nullable
              as double?,
      change: freezed == change
          ? _value.change
          : change // ignore: cast_nullable_to_non_nullable
              as double?,
      bid: freezed == bid
          ? _value.bid
          : bid // ignore: cast_nullable_to_non_nullable
              as double?,
      ask: freezed == ask
          ? _value.ask
          : ask // ignore: cast_nullable_to_non_nullable
              as double?,
      high: freezed == high
          ? _value.high
          : high // ignore: cast_nullable_to_non_nullable
              as double?,
      low: freezed == low
          ? _value.low
          : low // ignore: cast_nullable_to_non_nullable
              as double?,
      open: freezed == open
          ? _value.open
          : open // ignore: cast_nullable_to_non_nullable
              as double?,
      close: freezed == close
          ? _value.close
          : close // ignore: cast_nullable_to_non_nullable
              as double?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$TickerModelImpl implements _TickerModel {
  const _$TickerModelImpl(
      {required this.symbol,
      this.last,
      this.baseVolume,
      this.quoteVolume,
      this.change,
      this.bid,
      this.ask,
      this.high,
      this.low,
      this.open,
      this.close});

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

  @override
  final String symbol;
  @override
  final double? last;
  @override
  final double? baseVolume;
  @override
  final double? quoteVolume;
  @override
  final double? change;
  @override
  final double? bid;
  @override
  final double? ask;
  @override
  final double? high;
  @override
  final double? low;
  @override
  final double? open;
  @override
  final double? close;

  @override
  String toString() {
    return 'TickerModel(symbol: $symbol, last: $last, baseVolume: $baseVolume, quoteVolume: $quoteVolume, change: $change, bid: $bid, ask: $ask, high: $high, low: $low, open: $open, close: $close)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$TickerModelImpl &&
            (identical(other.symbol, symbol) || other.symbol == symbol) &&
            (identical(other.last, last) || other.last == last) &&
            (identical(other.baseVolume, baseVolume) ||
                other.baseVolume == baseVolume) &&
            (identical(other.quoteVolume, quoteVolume) ||
                other.quoteVolume == quoteVolume) &&
            (identical(other.change, change) || other.change == change) &&
            (identical(other.bid, bid) || other.bid == bid) &&
            (identical(other.ask, ask) || other.ask == ask) &&
            (identical(other.high, high) || other.high == high) &&
            (identical(other.low, low) || other.low == low) &&
            (identical(other.open, open) || other.open == open) &&
            (identical(other.close, close) || other.close == close));
  }

  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  int get hashCode => Object.hash(runtimeType, symbol, last, baseVolume,
      quoteVolume, change, bid, ask, high, low, open, close);

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

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

abstract class _TickerModel implements TickerModel {
  const factory _TickerModel(
      {required final String symbol,
      final double? last,
      final double? baseVolume,
      final double? quoteVolume,
      final double? change,
      final double? bid,
      final double? ask,
      final double? high,
      final double? low,
      final double? open,
      final double? close}) = _$TickerModelImpl;

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

  @override
  String get symbol;
  @override
  double? get last;
  @override
  double? get baseVolume;
  @override
  double? get quoteVolume;
  @override
  double? get change;
  @override
  double? get bid;
  @override
  double? get ask;
  @override
  double? get high;
  @override
  double? get low;
  @override
  double? get open;
  @override
  double? get close;

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