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

TeaserImageUrl _$TeaserImageUrlFromJson(Map<String, dynamic> json) {
  return _TeaserImageUrl.fromJson(json);
}

/// @nodoc
mixin _$TeaserImageUrl {
  String? get imageurl => throw _privateConstructorUsedError;

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

/// @nodoc
abstract class $TeaserImageUrlCopyWith<$Res> {
  factory $TeaserImageUrlCopyWith(
          TeaserImageUrl value, $Res Function(TeaserImageUrl) then) =
      _$TeaserImageUrlCopyWithImpl<$Res, TeaserImageUrl>;
  @useResult
  $Res call({String? imageurl});
}

/// @nodoc
class _$TeaserImageUrlCopyWithImpl<$Res, $Val extends TeaserImageUrl>
    implements $TeaserImageUrlCopyWith<$Res> {
  _$TeaserImageUrlCopyWithImpl(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? imageurl = freezed,
  }) {
    return _then(_value.copyWith(
      imageurl: freezed == imageurl
          ? _value.imageurl
          : imageurl // ignore: cast_nullable_to_non_nullable
              as String?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$TeaserImageUrlImplCopyWith<$Res>
    implements $TeaserImageUrlCopyWith<$Res> {
  factory _$$TeaserImageUrlImplCopyWith(_$TeaserImageUrlImpl value,
          $Res Function(_$TeaserImageUrlImpl) then) =
      __$$TeaserImageUrlImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({String? imageurl});
}

/// @nodoc
class __$$TeaserImageUrlImplCopyWithImpl<$Res>
    extends _$TeaserImageUrlCopyWithImpl<$Res, _$TeaserImageUrlImpl>
    implements _$$TeaserImageUrlImplCopyWith<$Res> {
  __$$TeaserImageUrlImplCopyWithImpl(
      _$TeaserImageUrlImpl _value, $Res Function(_$TeaserImageUrlImpl) _then)
      : super(_value, _then);

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

/// @nodoc
@JsonSerializable()
class _$TeaserImageUrlImpl implements _TeaserImageUrl {
  const _$TeaserImageUrlImpl({this.imageurl});

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

  @override
  final String? imageurl;

  @override
  String toString() {
    return 'TeaserImageUrl(imageurl: $imageurl)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$TeaserImageUrlImpl &&
            (identical(other.imageurl, imageurl) ||
                other.imageurl == imageurl));
  }

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

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

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

abstract class _TeaserImageUrl implements TeaserImageUrl {
  const factory _TeaserImageUrl({final String? imageurl}) =
      _$TeaserImageUrlImpl;

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

  @override
  String? get imageurl;
  @override
  @JsonKey(ignore: true)
  _$$TeaserImageUrlImplCopyWith<_$TeaserImageUrlImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
