Skip to content

Commit 2d7b19c

Browse files
committed
Update generated files
1 parent 80523b9 commit 2d7b19c

28 files changed

+518
-489
lines changed

lib/src/channels/channel.freezed.dart

+19-18
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ part of 'channel.dart';
1212
T _$identity<T>(T value) => value;
1313

1414
final _privateConstructorUsedError = UnsupportedError(
15-
'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#custom-getters-and-methods');
15+
'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');
1616

1717
/// @nodoc
1818
mixin _$Channel {
@@ -103,10 +103,10 @@ class _$ChannelCopyWithImpl<$Res, $Val extends Channel>
103103
}
104104

105105
/// @nodoc
106-
abstract class _$$_ChannelCopyWith<$Res> implements $ChannelCopyWith<$Res> {
107-
factory _$$_ChannelCopyWith(
108-
_$_Channel value, $Res Function(_$_Channel) then) =
109-
__$$_ChannelCopyWithImpl<$Res>;
106+
abstract class _$$ChannelImplCopyWith<$Res> implements $ChannelCopyWith<$Res> {
107+
factory _$$ChannelImplCopyWith(
108+
_$ChannelImpl value, $Res Function(_$ChannelImpl) then) =
109+
__$$ChannelImplCopyWithImpl<$Res>;
110110
@override
111111
@useResult
112112
$Res call(
@@ -121,10 +121,11 @@ abstract class _$$_ChannelCopyWith<$Res> implements $ChannelCopyWith<$Res> {
121121
}
122122

123123
/// @nodoc
124-
class __$$_ChannelCopyWithImpl<$Res>
125-
extends _$ChannelCopyWithImpl<$Res, _$_Channel>
126-
implements _$$_ChannelCopyWith<$Res> {
127-
__$$_ChannelCopyWithImpl(_$_Channel _value, $Res Function(_$_Channel) _then)
124+
class __$$ChannelImplCopyWithImpl<$Res>
125+
extends _$ChannelCopyWithImpl<$Res, _$ChannelImpl>
126+
implements _$$ChannelImplCopyWith<$Res> {
127+
__$$ChannelImplCopyWithImpl(
128+
_$ChannelImpl _value, $Res Function(_$ChannelImpl) _then)
128129
: super(_value, _then);
129130

130131
@pragma('vm:prefer-inline')
@@ -136,7 +137,7 @@ class __$$_ChannelCopyWithImpl<$Res>
136137
Object? bannerUrl = null,
137138
Object? subscribersCount = freezed,
138139
}) {
139-
return _then(_$_Channel(
140+
return _then(_$ChannelImpl(
140141
null == id
141142
? _value.id
142143
: id // ignore: cast_nullable_to_non_nullable
@@ -163,8 +164,8 @@ class __$$_ChannelCopyWithImpl<$Res>
163164

164165
/// @nodoc
165166
166-
class _$_Channel extends _Channel {
167-
const _$_Channel(
167+
class _$ChannelImpl extends _Channel {
168+
const _$ChannelImpl(
168169
this.id, this.title, this.logoUrl, this.bannerUrl, this.subscribersCount)
169170
: super._();
170171

@@ -194,10 +195,10 @@ class _$_Channel extends _Channel {
194195
}
195196

196197
@override
197-
bool operator ==(dynamic other) {
198+
bool operator ==(Object other) {
198199
return identical(this, other) ||
199200
(other.runtimeType == runtimeType &&
200-
other is _$_Channel &&
201+
other is _$ChannelImpl &&
201202
(identical(other.id, id) || other.id == id) &&
202203
(identical(other.title, title) || other.title == title) &&
203204
(identical(other.logoUrl, logoUrl) || other.logoUrl == logoUrl) &&
@@ -214,8 +215,8 @@ class _$_Channel extends _Channel {
214215
@JsonKey(ignore: true)
215216
@override
216217
@pragma('vm:prefer-inline')
217-
_$$_ChannelCopyWith<_$_Channel> get copyWith =>
218-
__$$_ChannelCopyWithImpl<_$_Channel>(this, _$identity);
218+
_$$ChannelImplCopyWith<_$ChannelImpl> get copyWith =>
219+
__$$ChannelImplCopyWithImpl<_$ChannelImpl>(this, _$identity);
219220
}
220221

221222
abstract class _Channel extends Channel {
@@ -224,7 +225,7 @@ abstract class _Channel extends Channel {
224225
final String title,
225226
final String logoUrl,
226227
final String bannerUrl,
227-
final int? subscribersCount) = _$_Channel;
228+
final int? subscribersCount) = _$ChannelImpl;
228229
const _Channel._() : super._();
229230

230231
@override
@@ -249,6 +250,6 @@ abstract class _Channel extends Channel {
249250
int? get subscribersCount;
250251
@override
251252
@JsonKey(ignore: true)
252-
_$$_ChannelCopyWith<_$_Channel> get copyWith =>
253+
_$$ChannelImplCopyWith<_$ChannelImpl> get copyWith =>
253254
throw _privateConstructorUsedError;
254255
}

lib/src/channels/channel_about.freezed.dart

+19-19
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ part of 'channel_about.dart';
1212
T _$identity<T>(T value) => value;
1313

1414
final _privateConstructorUsedError = UnsupportedError(
15-
'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#custom-getters-and-methods');
15+
'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');
1616

1717
/// @nodoc
1818
mixin _$ChannelAbout {
@@ -114,11 +114,11 @@ class _$ChannelAboutCopyWithImpl<$Res, $Val extends ChannelAbout>
114114
}
115115

116116
/// @nodoc
117-
abstract class _$$_ChannelAboutCopyWith<$Res>
117+
abstract class _$$ChannelAboutImplCopyWith<$Res>
118118
implements $ChannelAboutCopyWith<$Res> {
119-
factory _$$_ChannelAboutCopyWith(
120-
_$_ChannelAbout value, $Res Function(_$_ChannelAbout) then) =
121-
__$$_ChannelAboutCopyWithImpl<$Res>;
119+
factory _$$ChannelAboutImplCopyWith(
120+
_$ChannelAboutImpl value, $Res Function(_$ChannelAboutImpl) then) =
121+
__$$ChannelAboutImplCopyWithImpl<$Res>;
122122
@override
123123
@useResult
124124
$Res call(
@@ -132,11 +132,11 @@ abstract class _$$_ChannelAboutCopyWith<$Res>
132132
}
133133

134134
/// @nodoc
135-
class __$$_ChannelAboutCopyWithImpl<$Res>
136-
extends _$ChannelAboutCopyWithImpl<$Res, _$_ChannelAbout>
137-
implements _$$_ChannelAboutCopyWith<$Res> {
138-
__$$_ChannelAboutCopyWithImpl(
139-
_$_ChannelAbout _value, $Res Function(_$_ChannelAbout) _then)
135+
class __$$ChannelAboutImplCopyWithImpl<$Res>
136+
extends _$ChannelAboutCopyWithImpl<$Res, _$ChannelAboutImpl>
137+
implements _$$ChannelAboutImplCopyWith<$Res> {
138+
__$$ChannelAboutImplCopyWithImpl(
139+
_$ChannelAboutImpl _value, $Res Function(_$ChannelAboutImpl) _then)
140140
: super(_value, _then);
141141

142142
@pragma('vm:prefer-inline')
@@ -150,7 +150,7 @@ class __$$_ChannelAboutCopyWithImpl<$Res>
150150
Object? country = freezed,
151151
Object? channelLinks = null,
152152
}) {
153-
return _then(_$_ChannelAbout(
153+
return _then(_$ChannelAboutImpl(
154154
freezed == description
155155
? _value.description
156156
: description // ignore: cast_nullable_to_non_nullable
@@ -185,8 +185,8 @@ class __$$_ChannelAboutCopyWithImpl<$Res>
185185

186186
/// @nodoc
187187
188-
class _$_ChannelAbout implements _ChannelAbout {
189-
const _$_ChannelAbout(
188+
class _$ChannelAboutImpl implements _ChannelAbout {
189+
const _$ChannelAboutImpl(
190190
this.description,
191191
this.viewCount,
192192
this.joinDate,
@@ -246,10 +246,10 @@ class _$_ChannelAbout implements _ChannelAbout {
246246
}
247247

248248
@override
249-
bool operator ==(dynamic other) {
249+
bool operator ==(Object other) {
250250
return identical(this, other) ||
251251
(other.runtimeType == runtimeType &&
252-
other is _$_ChannelAbout &&
252+
other is _$ChannelAboutImpl &&
253253
(identical(other.description, description) ||
254254
other.description == description) &&
255255
(identical(other.viewCount, viewCount) ||
@@ -278,8 +278,8 @@ class _$_ChannelAbout implements _ChannelAbout {
278278
@JsonKey(ignore: true)
279279
@override
280280
@pragma('vm:prefer-inline')
281-
_$$_ChannelAboutCopyWith<_$_ChannelAbout> get copyWith =>
282-
__$$_ChannelAboutCopyWithImpl<_$_ChannelAbout>(this, _$identity);
281+
_$$ChannelAboutImplCopyWith<_$ChannelAboutImpl> get copyWith =>
282+
__$$ChannelAboutImplCopyWithImpl<_$ChannelAboutImpl>(this, _$identity);
283283
}
284284

285285
abstract class _ChannelAbout implements ChannelAbout {
@@ -290,7 +290,7 @@ abstract class _ChannelAbout implements ChannelAbout {
290290
final String title,
291291
final List<Thumbnail> thumbnails,
292292
final String? country,
293-
final List<ChannelLink> channelLinks) = _$_ChannelAbout;
293+
final List<ChannelLink> channelLinks) = _$ChannelAboutImpl;
294294

295295
@override
296296

@@ -323,6 +323,6 @@ abstract class _ChannelAbout implements ChannelAbout {
323323
List<ChannelLink> get channelLinks;
324324
@override
325325
@JsonKey(ignore: true)
326-
_$$_ChannelAboutCopyWith<_$_ChannelAbout> get copyWith =>
326+
_$$ChannelAboutImplCopyWith<_$ChannelAboutImpl> get copyWith =>
327327
throw _privateConstructorUsedError;
328328
}

lib/src/channels/channel_handle.freezed.dart

+19-19
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ part of 'channel_handle.dart';
1212
T _$identity<T>(T value) => value;
1313

1414
final _privateConstructorUsedError = UnsupportedError(
15-
'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#custom-getters-and-methods');
15+
'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');
1616

1717
/// @nodoc
1818
mixin _$ChannelHandle {
@@ -58,30 +58,30 @@ class _$ChannelHandleCopyWithImpl<$Res, $Val extends ChannelHandle>
5858
}
5959

6060
/// @nodoc
61-
abstract class _$$_ChannelHandleCopyWith<$Res>
61+
abstract class _$$ChannelHandleImplCopyWith<$Res>
6262
implements $ChannelHandleCopyWith<$Res> {
63-
factory _$$_ChannelHandleCopyWith(
64-
_$_ChannelHandle value, $Res Function(_$_ChannelHandle) then) =
65-
__$$_ChannelHandleCopyWithImpl<$Res>;
63+
factory _$$ChannelHandleImplCopyWith(
64+
_$ChannelHandleImpl value, $Res Function(_$ChannelHandleImpl) then) =
65+
__$$ChannelHandleImplCopyWithImpl<$Res>;
6666
@override
6767
@useResult
6868
$Res call({String value});
6969
}
7070

7171
/// @nodoc
72-
class __$$_ChannelHandleCopyWithImpl<$Res>
73-
extends _$ChannelHandleCopyWithImpl<$Res, _$_ChannelHandle>
74-
implements _$$_ChannelHandleCopyWith<$Res> {
75-
__$$_ChannelHandleCopyWithImpl(
76-
_$_ChannelHandle _value, $Res Function(_$_ChannelHandle) _then)
72+
class __$$ChannelHandleImplCopyWithImpl<$Res>
73+
extends _$ChannelHandleCopyWithImpl<$Res, _$ChannelHandleImpl>
74+
implements _$$ChannelHandleImplCopyWith<$Res> {
75+
__$$ChannelHandleImplCopyWithImpl(
76+
_$ChannelHandleImpl _value, $Res Function(_$ChannelHandleImpl) _then)
7777
: super(_value, _then);
7878

7979
@pragma('vm:prefer-inline')
8080
@override
8181
$Res call({
8282
Object? value = null,
8383
}) {
84-
return _then(_$_ChannelHandle(
84+
return _then(_$ChannelHandleImpl(
8585
null == value
8686
? _value.value
8787
: value // ignore: cast_nullable_to_non_nullable
@@ -92,8 +92,8 @@ class __$$_ChannelHandleCopyWithImpl<$Res>
9292

9393
/// @nodoc
9494
95-
class _$_ChannelHandle implements _ChannelHandle {
96-
const _$_ChannelHandle(this.value);
95+
class _$ChannelHandleImpl implements _ChannelHandle {
96+
const _$ChannelHandleImpl(this.value);
9797

9898
/// Handle as string.
9999
@override
@@ -105,10 +105,10 @@ class _$_ChannelHandle implements _ChannelHandle {
105105
}
106106

107107
@override
108-
bool operator ==(dynamic other) {
108+
bool operator ==(Object other) {
109109
return identical(this, other) ||
110110
(other.runtimeType == runtimeType &&
111-
other is _$_ChannelHandle &&
111+
other is _$ChannelHandleImpl &&
112112
(identical(other.value, value) || other.value == value));
113113
}
114114

@@ -118,19 +118,19 @@ class _$_ChannelHandle implements _ChannelHandle {
118118
@JsonKey(ignore: true)
119119
@override
120120
@pragma('vm:prefer-inline')
121-
_$$_ChannelHandleCopyWith<_$_ChannelHandle> get copyWith =>
122-
__$$_ChannelHandleCopyWithImpl<_$_ChannelHandle>(this, _$identity);
121+
_$$ChannelHandleImplCopyWith<_$ChannelHandleImpl> get copyWith =>
122+
__$$ChannelHandleImplCopyWithImpl<_$ChannelHandleImpl>(this, _$identity);
123123
}
124124

125125
abstract class _ChannelHandle implements ChannelHandle {
126-
const factory _ChannelHandle(final String value) = _$_ChannelHandle;
126+
const factory _ChannelHandle(final String value) = _$ChannelHandleImpl;
127127

128128
@override
129129

130130
/// Handle as string.
131131
String get value;
132132
@override
133133
@JsonKey(ignore: true)
134-
_$$_ChannelHandleCopyWith<_$_ChannelHandle> get copyWith =>
134+
_$$ChannelHandleImplCopyWith<_$ChannelHandleImpl> get copyWith =>
135135
throw _privateConstructorUsedError;
136136
}

lib/src/channels/channel_id.freezed.dart

+20-19
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ part of 'channel_id.dart';
1212
T _$identity<T>(T value) => value;
1313

1414
final _privateConstructorUsedError = UnsupportedError(
15-
'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#custom-getters-and-methods');
15+
'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');
1616

1717
/// @nodoc
1818
mixin _$ChannelId {
@@ -57,29 +57,30 @@ class _$ChannelIdCopyWithImpl<$Res, $Val extends ChannelId>
5757
}
5858

5959
/// @nodoc
60-
abstract class _$$_ChannelIdCopyWith<$Res> implements $ChannelIdCopyWith<$Res> {
61-
factory _$$_ChannelIdCopyWith(
62-
_$_ChannelId value, $Res Function(_$_ChannelId) then) =
63-
__$$_ChannelIdCopyWithImpl<$Res>;
60+
abstract class _$$ChannelIdImplCopyWith<$Res>
61+
implements $ChannelIdCopyWith<$Res> {
62+
factory _$$ChannelIdImplCopyWith(
63+
_$ChannelIdImpl value, $Res Function(_$ChannelIdImpl) then) =
64+
__$$ChannelIdImplCopyWithImpl<$Res>;
6465
@override
6566
@useResult
6667
$Res call({String value});
6768
}
6869

6970
/// @nodoc
70-
class __$$_ChannelIdCopyWithImpl<$Res>
71-
extends _$ChannelIdCopyWithImpl<$Res, _$_ChannelId>
72-
implements _$$_ChannelIdCopyWith<$Res> {
73-
__$$_ChannelIdCopyWithImpl(
74-
_$_ChannelId _value, $Res Function(_$_ChannelId) _then)
71+
class __$$ChannelIdImplCopyWithImpl<$Res>
72+
extends _$ChannelIdCopyWithImpl<$Res, _$ChannelIdImpl>
73+
implements _$$ChannelIdImplCopyWith<$Res> {
74+
__$$ChannelIdImplCopyWithImpl(
75+
_$ChannelIdImpl _value, $Res Function(_$ChannelIdImpl) _then)
7576
: super(_value, _then);
7677

7778
@pragma('vm:prefer-inline')
7879
@override
7980
$Res call({
8081
Object? value = null,
8182
}) {
82-
return _then(_$_ChannelId(
83+
return _then(_$ChannelIdImpl(
8384
null == value
8485
? _value.value
8586
: value // ignore: cast_nullable_to_non_nullable
@@ -90,18 +91,18 @@ class __$$_ChannelIdCopyWithImpl<$Res>
9091

9192
/// @nodoc
9293
93-
class _$_ChannelId extends _ChannelId {
94-
const _$_ChannelId(this.value) : super._();
94+
class _$ChannelIdImpl extends _ChannelId {
95+
const _$ChannelIdImpl(this.value) : super._();
9596

9697
/// ID as a string.
9798
@override
9899
final String value;
99100

100101
@override
101-
bool operator ==(dynamic other) {
102+
bool operator ==(Object other) {
102103
return identical(this, other) ||
103104
(other.runtimeType == runtimeType &&
104-
other is _$_ChannelId &&
105+
other is _$ChannelIdImpl &&
105106
(identical(other.value, value) || other.value == value));
106107
}
107108

@@ -111,12 +112,12 @@ class _$_ChannelId extends _ChannelId {
111112
@JsonKey(ignore: true)
112113
@override
113114
@pragma('vm:prefer-inline')
114-
_$$_ChannelIdCopyWith<_$_ChannelId> get copyWith =>
115-
__$$_ChannelIdCopyWithImpl<_$_ChannelId>(this, _$identity);
115+
_$$ChannelIdImplCopyWith<_$ChannelIdImpl> get copyWith =>
116+
__$$ChannelIdImplCopyWithImpl<_$ChannelIdImpl>(this, _$identity);
116117
}
117118

118119
abstract class _ChannelId extends ChannelId {
119-
const factory _ChannelId(final String value) = _$_ChannelId;
120+
const factory _ChannelId(final String value) = _$ChannelIdImpl;
120121
const _ChannelId._() : super._();
121122

122123
@override
@@ -125,6 +126,6 @@ abstract class _ChannelId extends ChannelId {
125126
String get value;
126127
@override
127128
@JsonKey(ignore: true)
128-
_$$_ChannelIdCopyWith<_$_ChannelId> get copyWith =>
129+
_$$ChannelIdImplCopyWith<_$ChannelIdImpl> get copyWith =>
129130
throw _privateConstructorUsedError;
130131
}

0 commit comments

Comments
 (0)