// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // 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 part of 'channel_about.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(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 informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); /// @nodoc class _$ChannelAboutTearOff { const _$ChannelAboutTearOff(); _ChannelAbout call( String description, int viewCount, String joinDate, String title, List thumbnails, String country, List channelLinks) { return _ChannelAbout( description, viewCount, joinDate, title, thumbnails, country, channelLinks, ); } } /// @nodoc const $ChannelAbout = _$ChannelAboutTearOff(); /// @nodoc mixin _$ChannelAbout { /// Full channel description. String get description => throw _privateConstructorUsedError; /// Channel view count. int get viewCount => throw _privateConstructorUsedError; /// Channel join date. /// Formatted as: Gen 01, 2000 String get joinDate => throw _privateConstructorUsedError; /// Channel title. String get title => throw _privateConstructorUsedError; /// Channel thumbnails. List get thumbnails => throw _privateConstructorUsedError; /// Channel country. String get country => throw _privateConstructorUsedError; /// Channel links. List get channelLinks => throw _privateConstructorUsedError; @JsonKey(ignore: true) $ChannelAboutCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $ChannelAboutCopyWith<$Res> { factory $ChannelAboutCopyWith( ChannelAbout value, $Res Function(ChannelAbout) then) = _$ChannelAboutCopyWithImpl<$Res>; $Res call( {String description, int viewCount, String joinDate, String title, List thumbnails, String country, List channelLinks}); } /// @nodoc class _$ChannelAboutCopyWithImpl<$Res> implements $ChannelAboutCopyWith<$Res> { _$ChannelAboutCopyWithImpl(this._value, this._then); final ChannelAbout _value; // ignore: unused_field final $Res Function(ChannelAbout) _then; @override $Res call({ Object? description = freezed, Object? viewCount = freezed, Object? joinDate = freezed, Object? title = freezed, Object? thumbnails = freezed, Object? country = freezed, Object? channelLinks = freezed, }) { return _then(_value.copyWith( description: description == freezed ? _value.description : description // ignore: cast_nullable_to_non_nullable as String, viewCount: viewCount == freezed ? _value.viewCount : viewCount // ignore: cast_nullable_to_non_nullable as int, joinDate: joinDate == freezed ? _value.joinDate : joinDate // ignore: cast_nullable_to_non_nullable as String, title: title == freezed ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, thumbnails: thumbnails == freezed ? _value.thumbnails : thumbnails // ignore: cast_nullable_to_non_nullable as List, country: country == freezed ? _value.country : country // ignore: cast_nullable_to_non_nullable as String, channelLinks: channelLinks == freezed ? _value.channelLinks : channelLinks // ignore: cast_nullable_to_non_nullable as List, )); } } /// @nodoc abstract class _$ChannelAboutCopyWith<$Res> implements $ChannelAboutCopyWith<$Res> { factory _$ChannelAboutCopyWith( _ChannelAbout value, $Res Function(_ChannelAbout) then) = __$ChannelAboutCopyWithImpl<$Res>; @override $Res call( {String description, int viewCount, String joinDate, String title, List thumbnails, String country, List channelLinks}); } /// @nodoc class __$ChannelAboutCopyWithImpl<$Res> extends _$ChannelAboutCopyWithImpl<$Res> implements _$ChannelAboutCopyWith<$Res> { __$ChannelAboutCopyWithImpl( _ChannelAbout _value, $Res Function(_ChannelAbout) _then) : super(_value, (v) => _then(v as _ChannelAbout)); @override _ChannelAbout get _value => super._value as _ChannelAbout; @override $Res call({ Object? description = freezed, Object? viewCount = freezed, Object? joinDate = freezed, Object? title = freezed, Object? thumbnails = freezed, Object? country = freezed, Object? channelLinks = freezed, }) { return _then(_ChannelAbout( description == freezed ? _value.description : description // ignore: cast_nullable_to_non_nullable as String, viewCount == freezed ? _value.viewCount : viewCount // ignore: cast_nullable_to_non_nullable as int, joinDate == freezed ? _value.joinDate : joinDate // ignore: cast_nullable_to_non_nullable as String, title == freezed ? _value.title : title // ignore: cast_nullable_to_non_nullable as String, thumbnails == freezed ? _value.thumbnails : thumbnails // ignore: cast_nullable_to_non_nullable as List, country == freezed ? _value.country : country // ignore: cast_nullable_to_non_nullable as String, channelLinks == freezed ? _value.channelLinks : channelLinks // ignore: cast_nullable_to_non_nullable as List, )); } } /// @nodoc class _$_ChannelAbout implements _ChannelAbout { const _$_ChannelAbout(this.description, this.viewCount, this.joinDate, this.title, this.thumbnails, this.country, this.channelLinks); @override /// Full channel description. final String description; @override /// Channel view count. final int viewCount; @override /// Channel join date. /// Formatted as: Gen 01, 2000 final String joinDate; @override /// Channel title. final String title; @override /// Channel thumbnails. final List thumbnails; @override /// Channel country. final String country; @override /// Channel links. final List channelLinks; @override String toString() { return 'ChannelAbout(description: $description, viewCount: $viewCount, joinDate: $joinDate, title: $title, thumbnails: $thumbnails, country: $country, channelLinks: $channelLinks)'; } @override bool operator ==(dynamic other) { return identical(this, other) || (other is _ChannelAbout && (identical(other.description, description) || const DeepCollectionEquality() .equals(other.description, description)) && (identical(other.viewCount, viewCount) || const DeepCollectionEquality() .equals(other.viewCount, viewCount)) && (identical(other.joinDate, joinDate) || const DeepCollectionEquality() .equals(other.joinDate, joinDate)) && (identical(other.title, title) || const DeepCollectionEquality().equals(other.title, title)) && (identical(other.thumbnails, thumbnails) || const DeepCollectionEquality() .equals(other.thumbnails, thumbnails)) && (identical(other.country, country) || const DeepCollectionEquality() .equals(other.country, country)) && (identical(other.channelLinks, channelLinks) || const DeepCollectionEquality() .equals(other.channelLinks, channelLinks))); } @override int get hashCode => runtimeType.hashCode ^ const DeepCollectionEquality().hash(description) ^ const DeepCollectionEquality().hash(viewCount) ^ const DeepCollectionEquality().hash(joinDate) ^ const DeepCollectionEquality().hash(title) ^ const DeepCollectionEquality().hash(thumbnails) ^ const DeepCollectionEquality().hash(country) ^ const DeepCollectionEquality().hash(channelLinks); @JsonKey(ignore: true) @override _$ChannelAboutCopyWith<_ChannelAbout> get copyWith => __$ChannelAboutCopyWithImpl<_ChannelAbout>(this, _$identity); } abstract class _ChannelAbout implements ChannelAbout { const factory _ChannelAbout( String description, int viewCount, String joinDate, String title, List thumbnails, String country, List channelLinks) = _$_ChannelAbout; @override /// Full channel description. String get description => throw _privateConstructorUsedError; @override /// Channel view count. int get viewCount => throw _privateConstructorUsedError; @override /// Channel join date. /// Formatted as: Gen 01, 2000 String get joinDate => throw _privateConstructorUsedError; @override /// Channel title. String get title => throw _privateConstructorUsedError; @override /// Channel thumbnails. List get thumbnails => throw _privateConstructorUsedError; @override /// Channel country. String get country => throw _privateConstructorUsedError; @override /// Channel links. List get channelLinks => throw _privateConstructorUsedError; @override @JsonKey(ignore: true) _$ChannelAboutCopyWith<_ChannelAbout> get copyWith => throw _privateConstructorUsedError; }