Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/flutter 3 24 #592

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions lib/app/states/app.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ mixin _$AppState {
HomeLayout get homeLayout => throw _privateConstructorUsedError;
bool get globalLoading => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of AppState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$AppStateCopyWith<AppState> get copyWith =>
throw _privateConstructorUsedError;
}
Expand Down Expand Up @@ -50,6 +52,8 @@ class _$AppStateCopyWithImpl<$Res, $Val extends AppState>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of AppState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -78,6 +82,8 @@ class _$AppStateCopyWithImpl<$Res, $Val extends AppState>
) as $Val);
}

/// Create a copy of AppState
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ServerCopyWith<$Res>? get server {
Expand Down Expand Up @@ -117,6 +123,8 @@ class __$$AppStateImplCopyWithImpl<$Res>
_$AppStateImpl _value, $Res Function(_$AppStateImpl) _then)
: super(_value, _then);

/// Create a copy of AppState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -185,7 +193,9 @@ class _$AppStateImpl implements _AppState {
int get hashCode =>
Object.hash(runtimeType, firstIndex, server, homeLayout, globalLoading);

@JsonKey(ignore: true)
/// Create a copy of AppState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$AppStateImplCopyWith<_$AppStateImpl> get copyWith =>
Expand All @@ -205,8 +215,11 @@ abstract class _AppState implements AppState {
HomeLayout get homeLayout;
@override
bool get globalLoading;

/// Create a copy of AppState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$AppStateImplCopyWith<_$AppStateImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions lib/channels/states/channel.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ mixin _$ChannelController {
double get barOpacity => throw _privateConstructorUsedError;
ChannelSortBy get sortBy => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of ChannelController
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$ChannelControllerCopyWith<ChannelController> get copyWith =>
throw _privateConstructorUsedError;
}
Expand Down Expand Up @@ -57,6 +59,8 @@ class _$ChannelControllerCopyWithImpl<$Res, $Val extends ChannelController>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of ChannelController
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -133,6 +137,8 @@ class __$$ChannelControllerImplCopyWithImpl<$Res>
$Res Function(_$ChannelControllerImpl) _then)
: super(_value, _then);

/// Create a copy of ChannelController
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -247,7 +253,9 @@ class _$ChannelControllerImpl implements _ChannelController {
int get hashCode => Object.hash(runtimeType, channelId, isSubscribed, channel,
loading, smallHeader, barHeight, barOpacity, sortBy);

@JsonKey(ignore: true)
/// Create a copy of ChannelController
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$ChannelControllerImplCopyWith<_$ChannelControllerImpl> get copyWith =>
Expand Down Expand Up @@ -282,8 +290,11 @@ abstract class _ChannelController implements ChannelController {
double get barOpacity;
@override
ChannelSortBy get sortBy;

/// Create a copy of ChannelController
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$ChannelControllerImplCopyWith<_$ChannelControllerImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions lib/channels/states/tv_channel.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ mixin _$TvChannelController {
bool get hasStreams => throw _privateConstructorUsedError;
bool get hasPlaylist => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of TvChannelController
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$TvChannelControllerCopyWith<TvChannelController> get copyWith =>
throw _privateConstructorUsedError;
}
Expand Down Expand Up @@ -51,6 +53,8 @@ class _$TvChannelControllerCopyWithImpl<$Res, $Val extends TvChannelController>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of TvChannelController
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -109,6 +113,8 @@ class __$$TvChannelControllerImplCopyWithImpl<$Res>
$Res Function(_$TvChannelControllerImpl) _then)
: super(_value, _then);

/// Create a copy of TvChannelController
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -195,7 +201,9 @@ class _$TvChannelControllerImpl implements _TvChannelController {
int get hashCode => Object.hash(runtimeType, showBackground, hasShorts,
hasVideos, hasStreams, hasPlaylist);

@JsonKey(ignore: true)
/// Create a copy of TvChannelController
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$TvChannelControllerImplCopyWith<_$TvChannelControllerImpl> get copyWith =>
Expand All @@ -221,8 +229,11 @@ abstract class _TvChannelController implements TvChannelController {
bool get hasStreams;
@override
bool get hasPlaylist;

/// Create a copy of TvChannelController
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$TvChannelControllerImplCopyWith<_$TvChannelControllerImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions lib/comments/states/comments.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ mixin _$CommentsState {
String? get source => throw _privateConstructorUsedError;
String? get sortBy => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of CommentsState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$CommentsStateCopyWith<CommentsState> get copyWith =>
throw _privateConstructorUsedError;
}
Expand Down Expand Up @@ -57,6 +59,8 @@ class _$CommentsStateCopyWithImpl<$Res, $Val extends CommentsState>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of CommentsState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -133,6 +137,8 @@ class __$$CommentsStateImplCopyWithImpl<$Res>
_$CommentsStateImpl _value, $Res Function(_$CommentsStateImpl) _then)
: super(_value, _then);

/// Create a copy of CommentsState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -243,7 +249,9 @@ class _$CommentsStateImpl implements _CommentsState {
int get hashCode => Object.hash(runtimeType, video, loadingComments,
continuation, continuationLoaded, comments, error, source, sortBy);

@JsonKey(ignore: true)
/// Create a copy of CommentsState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$CommentsStateImplCopyWith<_$CommentsStateImpl> get copyWith =>
Expand Down Expand Up @@ -277,8 +285,11 @@ abstract class _CommentsState implements CommentsState {
String? get source;
@override
String? get sortBy;

/// Create a copy of CommentsState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$CommentsStateImplCopyWith<_$CommentsStateImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions lib/comments/states/comments_container.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ mixin _$CommentsContainerState {
String get source => throw _privateConstructorUsedError;
String get sortBy => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of CommentsContainerState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$CommentsContainerStateCopyWith<CommentsContainerState> get copyWith =>
throw _privateConstructorUsedError;
}
Expand All @@ -44,6 +46,8 @@ class _$CommentsContainerStateCopyWithImpl<$Res,
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of CommentsContainerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -85,6 +89,8 @@ class __$$CommentsContainerStateImplCopyWithImpl<$Res>
$Res Function(_$CommentsContainerStateImpl) _then)
: super(_value, _then);

/// Create a copy of CommentsContainerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -134,7 +140,9 @@ class _$CommentsContainerStateImpl implements _CommentsContainerState {
@override
int get hashCode => Object.hash(runtimeType, source, sortBy);

@JsonKey(ignore: true)
/// Create a copy of CommentsContainerState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$CommentsContainerStateImplCopyWith<_$CommentsContainerStateImpl>
Expand All @@ -151,8 +159,11 @@ abstract class _CommentsContainerState implements CommentsContainerState {
String get source;
@override
String get sortBy;

/// Create a copy of CommentsContainerState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$CommentsContainerStateImplCopyWith<_$CommentsContainerStateImpl>
get copyWith => throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions lib/comments/states/single_comment.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ mixin _$SingleCommentState {
bool get showingChildren => throw _privateConstructorUsedError;
VideoComments? get children => throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of SingleCommentState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$SingleCommentStateCopyWith<SingleCommentState> get copyWith =>
throw _privateConstructorUsedError;
}
Expand All @@ -44,6 +46,8 @@ class _$SingleCommentStateCopyWithImpl<$Res, $Val extends SingleCommentState>
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of SingleCommentState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -87,6 +91,8 @@ class __$$SingleCommentStateImplCopyWithImpl<$Res>
$Res Function(_$SingleCommentStateImpl) _then)
: super(_value, _then);

/// Create a copy of SingleCommentState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -146,7 +152,9 @@ class _$SingleCommentStateImpl implements _SingleCommentState {
int get hashCode =>
Object.hash(runtimeType, comment, showingChildren, children);

@JsonKey(ignore: true)
/// Create a copy of SingleCommentState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$SingleCommentStateImplCopyWith<_$SingleCommentStateImpl> get copyWith =>
Expand All @@ -166,8 +174,11 @@ abstract class _SingleCommentState implements SingleCommentState {
bool get showingChildren;
@override
VideoComments? get children;

/// Create a copy of SingleCommentState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$SingleCommentStateImplCopyWith<_$SingleCommentStateImpl> get copyWith =>
throw _privateConstructorUsedError;
}
17 changes: 14 additions & 3 deletions lib/downloads/states/download_manager.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ mixin _$DownloadManagerState {
Map<String, DownloadProgress> get downloadProgresses =>
throw _privateConstructorUsedError;

@JsonKey(ignore: true)
/// Create a copy of DownloadManagerState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$DownloadManagerStateCopyWith<DownloadManagerState> get copyWith =>
throw _privateConstructorUsedError;
}
Expand All @@ -47,6 +49,8 @@ class _$DownloadManagerStateCopyWithImpl<$Res,
// ignore: unused_field
final $Res Function($Val) _then;

/// Create a copy of DownloadManagerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -87,6 +91,8 @@ class __$$DownloadManagerStateImplCopyWithImpl<$Res>
$Res Function(_$DownloadManagerStateImpl) _then)
: super(_value, _then);

/// Create a copy of DownloadManagerState
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Expand Down Expand Up @@ -156,7 +162,9 @@ class _$DownloadManagerStateImpl extends _DownloadManagerState {
const DeepCollectionEquality().hash(_videos),
const DeepCollectionEquality().hash(_downloadProgresses));

@JsonKey(ignore: true)
/// Create a copy of DownloadManagerState
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$DownloadManagerStateImplCopyWith<_$DownloadManagerStateImpl>
Expand All @@ -176,8 +184,11 @@ abstract class _DownloadManagerState extends DownloadManagerState {
List<DownloadedVideo> get videos;
@override
Map<String, DownloadProgress> get downloadProgresses;

/// Create a copy of DownloadManagerState
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(ignore: true)
@JsonKey(includeFromJson: false, includeToJson: false)
_$$DownloadManagerStateImplCopyWith<_$DownloadManagerStateImpl>
get copyWith => throw _privateConstructorUsedError;
}
Loading
Loading