2021-08-31 18:06:34 +02:00
// coverage:ignore-file
2021-07-19 00:47:22 +02:00
// 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 > ( 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. \n Please 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 < Thumbnail > thumbnails ,
String country ,
List < ChannelLink > 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 < Thumbnail > get thumbnails = > throw _privateConstructorUsedError ;
/// Channel country.
String get country = > throw _privateConstructorUsedError ;
/// Channel links.
List < ChannelLink > get channelLinks = > throw _privateConstructorUsedError ;
@ JsonKey ( ignore: true )
$ChannelAboutCopyWith < ChannelAbout > 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 < Thumbnail > thumbnails ,
String country ,
List < ChannelLink > 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 < Thumbnail > ,
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 < ChannelLink > ,
) ) ;
}
}
/// @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 < Thumbnail > thumbnails ,
String country ,
List < ChannelLink > 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 < Thumbnail > ,
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 < ChannelLink > ,
) ) ;
}
}
/// @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 < Thumbnail > thumbnails ;
@ override
/// Channel country.
final String country ;
@ override
/// Channel links.
final List < ChannelLink > 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 ) | |
2021-11-12 21:04:53 +01:00
( other . runtimeType = = runtimeType & &
other is _ChannelAbout & &
2021-12-14 06:38:56 +01:00
const DeepCollectionEquality ( )
. equals ( other . description , description ) & &
const DeepCollectionEquality ( ) . equals ( other . viewCount , viewCount ) & &
const DeepCollectionEquality ( ) . equals ( other . joinDate , joinDate ) & &
const DeepCollectionEquality ( ) . equals ( other . title , title ) & &
2021-11-12 21:04:53 +01:00
const DeepCollectionEquality ( )
. equals ( other . thumbnails , thumbnails ) & &
2021-12-14 06:38:56 +01:00
const DeepCollectionEquality ( ) . equals ( other . country , country ) & &
2021-11-12 21:04:53 +01:00
const DeepCollectionEquality ( )
. equals ( other . channelLinks , channelLinks ) ) ;
2021-07-19 00:47:22 +02:00
}
@ override
2021-11-12 21:04:53 +01:00
int get hashCode = > Object . hash (
runtimeType ,
2021-12-14 06:38:56 +01:00
const DeepCollectionEquality ( ) . hash ( description ) ,
const DeepCollectionEquality ( ) . hash ( viewCount ) ,
const DeepCollectionEquality ( ) . hash ( joinDate ) ,
const DeepCollectionEquality ( ) . hash ( title ) ,
2021-11-12 21:04:53 +01:00
const DeepCollectionEquality ( ) . hash ( thumbnails ) ,
2021-12-14 06:38:56 +01:00
const DeepCollectionEquality ( ) . hash ( country ) ,
2021-11-12 21:04:53 +01:00
const DeepCollectionEquality ( ) . hash ( channelLinks ) ) ;
2021-07-19 00:47:22 +02:00
@ 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 < Thumbnail > thumbnails ,
String country ,
List < ChannelLink > channelLinks ) = _ $_ChannelAbout ;
@ override
/// Full channel description.
2021-11-12 21:04:53 +01:00
String get description ;
2021-07-19 00:47:22 +02:00
@ override
/// Channel view count.
2021-11-12 21:04:53 +01:00
int get viewCount ;
2021-07-19 00:47:22 +02:00
@ override
/// Channel join date.
/// Formatted as: Gen 01, 2000
2021-11-12 21:04:53 +01:00
String get joinDate ;
2021-07-19 00:47:22 +02:00
@ override
/// Channel title.
2021-11-12 21:04:53 +01:00
String get title ;
2021-07-19 00:47:22 +02:00
@ override
/// Channel thumbnails.
2021-11-12 21:04:53 +01:00
List < Thumbnail > get thumbnails ;
2021-07-19 00:47:22 +02:00
@ override
/// Channel country.
2021-11-12 21:04:53 +01:00
String get country ;
2021-07-19 00:47:22 +02:00
@ override
/// Channel links.
2021-11-12 21:04:53 +01:00
List < ChannelLink > get channelLinks ;
2021-07-19 00:47:22 +02:00
@ override
@ JsonKey ( ignore: true )
_ $ChannelAboutCopyWith < _ChannelAbout > get copyWith = >
throw _privateConstructorUsedError ;
}