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

TeaserImage _$TeaserImageFromJson(Map<String, dynamic> json) {
  return _TeaserImage.fromJson(json);
}

/// @nodoc
mixin _$TeaserImage {
  Map<String, String>? get imageVariants => throw _privateConstructorUsedError;

  Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
  @JsonKey(ignore: true)
  $TeaserImageCopyWith<TeaserImage> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $TeaserImageCopyWith<$Res> {
  factory $TeaserImageCopyWith(
          TeaserImage value, $Res Function(TeaserImage) then) =
      _$TeaserImageCopyWithImpl<$Res, TeaserImage>;
  @useResult
  $Res call({Map<String, String>? imageVariants});
}

/// @nodoc
class _$TeaserImageCopyWithImpl<$Res, $Val extends TeaserImage>
    implements $TeaserImageCopyWith<$Res> {
  _$TeaserImageCopyWithImpl(this._value, this._then);

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

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? imageVariants = freezed,
  }) {
    return _then(_value.copyWith(
      imageVariants: freezed == imageVariants
          ? _value.imageVariants
          : imageVariants // ignore: cast_nullable_to_non_nullable
              as Map<String, String>?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$TeaserImageImplCopyWith<$Res>
    implements $TeaserImageCopyWith<$Res> {
  factory _$$TeaserImageImplCopyWith(
          _$TeaserImageImpl value, $Res Function(_$TeaserImageImpl) then) =
      __$$TeaserImageImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({Map<String, String>? imageVariants});
}

/// @nodoc
class __$$TeaserImageImplCopyWithImpl<$Res>
    extends _$TeaserImageCopyWithImpl<$Res, _$TeaserImageImpl>
    implements _$$TeaserImageImplCopyWith<$Res> {
  __$$TeaserImageImplCopyWithImpl(
      _$TeaserImageImpl _value, $Res Function(_$TeaserImageImpl) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? imageVariants = freezed,
  }) {
    return _then(_$TeaserImageImpl(
      imageVariants: freezed == imageVariants
          ? _value._imageVariants
          : imageVariants // ignore: cast_nullable_to_non_nullable
              as Map<String, String>?,
    ));
  }
}

/// @nodoc
@JsonSerializable()
class _$TeaserImageImpl implements _TeaserImage {
  const _$TeaserImageImpl({final Map<String, String>? imageVariants})
      : _imageVariants = imageVariants;

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

  final Map<String, String>? _imageVariants;
  @override
  Map<String, String>? get imageVariants {
    final value = _imageVariants;
    if (value == null) return null;
    if (_imageVariants is EqualUnmodifiableMapView) return _imageVariants;
    // ignore: implicit_dynamic_type
    return EqualUnmodifiableMapView(value);
  }

  @override
  String toString() {
    return 'TeaserImage(imageVariants: $imageVariants)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$TeaserImageImpl &&
            const DeepCollectionEquality()
                .equals(other._imageVariants, _imageVariants));
  }

  @JsonKey(ignore: true)
  @override
  int get hashCode => Object.hash(
      runtimeType, const DeepCollectionEquality().hash(_imageVariants));

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$TeaserImageImplCopyWith<_$TeaserImageImpl> get copyWith =>
      __$$TeaserImageImplCopyWithImpl<_$TeaserImageImpl>(this, _$identity);

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

abstract class _TeaserImage implements TeaserImage {
  const factory _TeaserImage({final Map<String, String>? imageVariants}) =
      _$TeaserImageImpl;

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

  @override
  Map<String, String>? get imageVariants;
  @override
  @JsonKey(ignore: true)
  _$$TeaserImageImplCopyWith<_$TeaserImageImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
