From f453821e155dafbc4a8b958062f44a55ee045ddf Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Wed, 4 Sep 2024 12:22:13 +0800 Subject: [PATCH] bump: flutter_rust_bridge 2.3.0 --- lib/app.freezed.dart | 36 +++++++++++++++---- lib/app.g.dart | 2 +- lib/common/rust/api/asar_api.dart | 2 +- lib/common/rust/api/http_api.dart | 2 +- lib/common/rust/api/rs_process.dart | 2 +- lib/common/rust/api/win32_api.dart | 2 +- lib/common/rust/frb_generated.dart | 14 ++++++-- lib/common/rust/frb_generated.io.dart | 2 +- lib/common/rust/http_package.dart | 2 +- lib/provider/aria2c.freezed.dart | 17 +++++++-- lib/provider/unp4kc.freezed.dart | 17 +++++++-- lib/provider/unp4kc.g.dart | 2 +- ...me_game_login_dialog_ui_model.freezed.dart | 17 +++++++-- .../home_downloader_ui_model.freezed.dart | 17 +++++++-- .../game_doctor_ui_model.freezed.dart | 17 +++++++-- .../game_doctor/game_doctor_ui_model.g.dart | 2 +- lib/ui/home/home_ui_model.freezed.dart | 17 +++++++-- ...dvanced_localization_ui_model.freezed.dart | 17 +++++++-- .../advanced_localization_ui_model.g.dart | 2 +- .../localization_ui_model.freezed.dart | 17 +++++++-- .../localization/localization_ui_model.g.dart | 2 +- .../performance_ui_model.freezed.dart | 17 +++++++-- .../settings/settings_ui_model.freezed.dart | 17 +++++++-- ...si_launcher_enhance_dialog_ui.freezed.dart | 17 +++++++-- lib/ui/tools/tools_ui_model.freezed.dart | 17 +++++++-- lib/ui/tools/tools_ui_model.g.dart | 2 +- rust/src/frb_generated.rs | 6 ++-- 27 files changed, 225 insertions(+), 59 deletions(-) diff --git a/lib/app.freezed.dart b/lib/app.freezed.dart index 1cc18c4..a57de0f 100644 --- a/lib/app.freezed.dart +++ b/lib/app.freezed.dart @@ -24,7 +24,9 @@ mixin _$AppGlobalState { Locale? get appLocale => throw _privateConstructorUsedError; Box? get appConfBox => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of AppGlobalState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $AppGlobalStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -57,6 +59,8 @@ class _$AppGlobalStateCopyWithImpl<$Res, $Val extends AppGlobalState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of AppGlobalState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -100,6 +104,8 @@ class _$AppGlobalStateCopyWithImpl<$Res, $Val extends AppGlobalState> ) as $Val); } + /// Create a copy of AppGlobalState + /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $ThemeConfCopyWith<$Res> get themeConf { @@ -138,6 +144,8 @@ class __$$AppGlobalStateImplCopyWithImpl<$Res> _$AppGlobalStateImpl _value, $Res Function(_$AppGlobalStateImpl) _then) : super(_value, _then); + /// Create a copy of AppGlobalState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -249,7 +257,9 @@ class _$AppGlobalStateImpl implements _AppGlobalState { appLocale, appConfBox); - @JsonKey(ignore: true) + /// Create a copy of AppGlobalState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$AppGlobalStateImplCopyWith<_$AppGlobalStateImpl> get copyWith => @@ -281,8 +291,11 @@ abstract class _AppGlobalState implements AppGlobalState { Locale? get appLocale; @override Box? get appConfBox; + + /// Create a copy of AppGlobalState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$AppGlobalStateImplCopyWith<_$AppGlobalStateImpl> get copyWith => throw _privateConstructorUsedError; } @@ -293,7 +306,9 @@ mixin _$ThemeConf { Color get menuColor => throw _privateConstructorUsedError; Color get micaColor => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of ThemeConf + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $ThemeConfCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -316,6 +331,8 @@ class _$ThemeConfCopyWithImpl<$Res, $Val extends ThemeConf> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of ThemeConf + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -359,6 +376,8 @@ class __$$ThemeConfImplCopyWithImpl<$Res> _$ThemeConfImpl _value, $Res Function(_$ThemeConfImpl) _then) : super(_value, _then); + /// Create a copy of ThemeConf + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -423,7 +442,9 @@ class _$ThemeConfImpl implements _ThemeConf { int get hashCode => Object.hash(runtimeType, backgroundColor, menuColor, micaColor); - @JsonKey(ignore: true) + /// Create a copy of ThemeConf + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ThemeConfImplCopyWith<_$ThemeConfImpl> get copyWith => @@ -442,8 +463,11 @@ abstract class _ThemeConf implements ThemeConf { Color get menuColor; @override Color get micaColor; + + /// Create a copy of ThemeConf + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$ThemeConfImplCopyWith<_$ThemeConfImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/app.g.dart b/lib/app.g.dart index ec72d84..b71d858 100644 --- a/lib/app.g.dart +++ b/lib/app.g.dart @@ -20,7 +20,7 @@ final routerProvider = AutoDisposeProvider.internal( ); typedef RouterRef = AutoDisposeProviderRef; -String _$appGlobalModelHash() => r'9dccbb898714695ef8b640a5b5dfb361783a0f45'; +String _$appGlobalModelHash() => r'cf3d526a61cbadea4252c6f8e096a527d5cef50f'; /// See also [AppGlobalModel]. @ProviderFor(AppGlobalModel) diff --git a/lib/common/rust/api/asar_api.dart b/lib/common/rust/api/asar_api.dart index c8f796b..45aa007 100644 --- a/lib/common/rust/api/asar_api.dart +++ b/lib/common/rust/api/asar_api.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/common/rust/api/http_api.dart b/lib/common/rust/api/http_api.dart index 6ccfedb..56ea8bc 100644 --- a/lib/common/rust/api/http_api.dart +++ b/lib/common/rust/api/http_api.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/common/rust/api/rs_process.dart b/lib/common/rust/api/rs_process.dart index 98d5053..2597fb3 100644 --- a/lib/common/rust/api/rs_process.dart +++ b/lib/common/rust/api/rs_process.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/common/rust/api/win32_api.dart b/lib/common/rust/api/win32_api.dart index db329bf..71a7a1a 100644 --- a/lib/common/rust/api/win32_api.dart +++ b/lib/common/rust/api/win32_api.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/common/rust/frb_generated.dart b/lib/common/rust/frb_generated.dart index b557750..c189ab7 100644 --- a/lib/common/rust/frb_generated.dart +++ b/lib/common/rust/frb_generated.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field @@ -35,6 +35,16 @@ class RustLib extends BaseEntrypoint { ); } + /// Initialize flutter_rust_bridge in mock mode. + /// No libraries for FFI are loaded. + static void initMock({ + required RustLibApi api, + }) { + instance.initMockImpl( + api: api, + ); + } + /// Dispose flutter_rust_bridge /// /// The call to this function is optional, since flutter_rust_bridge (and everything else) @@ -57,7 +67,7 @@ class RustLib extends BaseEntrypoint { kDefaultExternalLibraryLoaderConfig; @override - String get codegenVersion => '2.1.0'; + String get codegenVersion => '2.3.0'; @override int get rustContentHash => 1832496273; diff --git a/lib/common/rust/frb_generated.io.dart b/lib/common/rust/frb_generated.io.dart index 818e6d8..67668b4 100644 --- a/lib/common/rust/frb_generated.io.dart +++ b/lib/common/rust/frb_generated.io.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field diff --git a/lib/common/rust/http_package.dart b/lib/common/rust/http_package.dart index 994d864..1cc13b2 100644 --- a/lib/common/rust/http_package.dart +++ b/lib/common/rust/http_package.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/provider/aria2c.freezed.dart b/lib/provider/aria2c.freezed.dart index eeb7609..98689ba 100644 --- a/lib/provider/aria2c.freezed.dart +++ b/lib/provider/aria2c.freezed.dart @@ -20,7 +20,9 @@ mixin _$Aria2cModelState { Aria2c? get aria2c => throw _privateConstructorUsedError; Aria2GlobalStat? get aria2globalStat => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of Aria2cModelState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $Aria2cModelStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -45,6 +47,8 @@ class _$Aria2cModelStateCopyWithImpl<$Res, $Val extends Aria2cModelState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of Aria2cModelState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -89,6 +93,8 @@ class __$$Aria2cModelStateImplCopyWithImpl<$Res> $Res Function(_$Aria2cModelStateImpl) _then) : super(_value, _then); + /// Create a copy of Aria2cModelState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -159,7 +165,9 @@ class _$Aria2cModelStateImpl int get hashCode => Object.hash(runtimeType, aria2cDir, aria2c, aria2globalStat); - @JsonKey(ignore: true) + /// Create a copy of Aria2cModelState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$Aria2cModelStateImplCopyWith<_$Aria2cModelStateImpl> get copyWith => @@ -179,8 +187,11 @@ abstract class _Aria2cModelState implements Aria2cModelState { Aria2c? get aria2c; @override Aria2GlobalStat? get aria2globalStat; + + /// Create a copy of Aria2cModelState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$Aria2cModelStateImplCopyWith<_$Aria2cModelStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/provider/unp4kc.freezed.dart b/lib/provider/unp4kc.freezed.dart index 0e32078..5940016 100644 --- a/lib/provider/unp4kc.freezed.dart +++ b/lib/provider/unp4kc.freezed.dart @@ -26,7 +26,9 @@ mixin _$Unp4kcState { throw _privateConstructorUsedError; String get errorMessage => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of Unp4kcState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $Unp4kcStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -57,6 +59,8 @@ class _$Unp4kcStateCopyWithImpl<$Res, $Val extends Unp4kcState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of Unp4kcState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -127,6 +131,8 @@ class __$$Unp4kcStateImplCopyWithImpl<$Res> _$Unp4kcStateImpl _value, $Res Function(_$Unp4kcStateImpl) _then) : super(_value, _then); + /// Create a copy of Unp4kcState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -255,7 +261,9 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState { tempOpenFile, errorMessage); - @JsonKey(ignore: true) + /// Create a copy of Unp4kcState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$Unp4kcStateImplCopyWith<_$Unp4kcStateImpl> get copyWith => @@ -286,8 +294,11 @@ abstract class _Unp4kcState implements Unp4kcState { MapEntry? get tempOpenFile; @override String get errorMessage; + + /// Create a copy of Unp4kcState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$Unp4kcStateImplCopyWith<_$Unp4kcStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/provider/unp4kc.g.dart b/lib/provider/unp4kc.g.dart index 078fb17..b5a5a80 100644 --- a/lib/provider/unp4kc.g.dart +++ b/lib/provider/unp4kc.g.dart @@ -6,7 +6,7 @@ part of 'unp4kc.dart'; // RiverpodGenerator // ************************************************************************** -String _$unp4kCModelHash() => r'1fbd18cef164e6c2b40541b2d1d834f01095cd2b'; +String _$unp4kCModelHash() => r'636da3fe20d1fa94917dd63934f08f8dbffc8a9d'; /// See also [Unp4kCModel]. @ProviderFor(Unp4kCModel) diff --git a/lib/ui/home/dialogs/home_game_login_dialog_ui_model.freezed.dart b/lib/ui/home/dialogs/home_game_login_dialog_ui_model.freezed.dart index 704170a..f2c23cb 100644 --- a/lib/ui/home/dialogs/home_game_login_dialog_ui_model.freezed.dart +++ b/lib/ui/home/dialogs/home_game_login_dialog_ui_model.freezed.dart @@ -26,7 +26,9 @@ mixin _$HomeGameLoginState { String? get installPath => throw _privateConstructorUsedError; bool? get isDeviceSupportWinHello => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of HomeGameLoginState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HomeGameLoginStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -59,6 +61,8 @@ class _$HomeGameLoginStateCopyWithImpl<$Res, $Val extends HomeGameLoginState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HomeGameLoginState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -141,6 +145,8 @@ class __$$LoginStatusImplCopyWithImpl<$Res> _$LoginStatusImpl _value, $Res Function(_$LoginStatusImpl) _then) : super(_value, _then); + /// Create a copy of HomeGameLoginState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -281,7 +287,9 @@ class _$LoginStatusImpl implements _LoginStatus { installPath, isDeviceSupportWinHello); - @JsonKey(ignore: true) + /// Create a copy of HomeGameLoginState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$LoginStatusImplCopyWith<_$LoginStatusImpl> get copyWith => @@ -318,8 +326,11 @@ abstract class _LoginStatus implements HomeGameLoginState { String? get installPath; @override bool? get isDeviceSupportWinHello; + + /// Create a copy of HomeGameLoginState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$LoginStatusImplCopyWith<_$LoginStatusImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/downloader/home_downloader_ui_model.freezed.dart b/lib/ui/home/downloader/home_downloader_ui_model.freezed.dart index 392d994..88957e1 100644 --- a/lib/ui/home/downloader/home_downloader_ui_model.freezed.dart +++ b/lib/ui/home/downloader/home_downloader_ui_model.freezed.dart @@ -21,7 +21,9 @@ mixin _$HomeDownloaderUIState { List get stoppedTasks => throw _privateConstructorUsedError; Aria2GlobalStat? get globalStat => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of HomeDownloaderUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HomeDownloaderUIStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -50,6 +52,8 @@ class _$HomeDownloaderUIStateCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HomeDownloaderUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -104,6 +108,8 @@ class __$$HomeDownloaderUIStateImplCopyWithImpl<$Res> $Res Function(_$HomeDownloaderUIStateImpl) _then) : super(_value, _then); + /// Create a copy of HomeDownloaderUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -202,7 +208,9 @@ class _$HomeDownloaderUIStateImpl implements _HomeDownloaderUIState { const DeepCollectionEquality().hash(_stoppedTasks), globalStat); - @JsonKey(ignore: true) + /// Create a copy of HomeDownloaderUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HomeDownloaderUIStateImplCopyWith<_$HomeDownloaderUIStateImpl> @@ -225,8 +233,11 @@ abstract class _HomeDownloaderUIState implements HomeDownloaderUIState { List get stoppedTasks; @override Aria2GlobalStat? get globalStat; + + /// Create a copy of HomeDownloaderUIState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HomeDownloaderUIStateImplCopyWith<_$HomeDownloaderUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/game_doctor/game_doctor_ui_model.freezed.dart b/lib/ui/home/game_doctor/game_doctor_ui_model.freezed.dart index 51e2d07..1090d6b 100644 --- a/lib/ui/home/game_doctor/game_doctor_ui_model.freezed.dart +++ b/lib/ui/home/game_doctor/game_doctor_ui_model.freezed.dart @@ -23,7 +23,9 @@ mixin _$HomeGameDoctorState { List>? get checkResult => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of HomeGameDoctorState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HomeGameDoctorStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -52,6 +54,8 @@ class _$HomeGameDoctorStateCopyWithImpl<$Res, $Val extends HomeGameDoctorState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HomeGameDoctorState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -110,6 +114,8 @@ class __$$HomeGameDoctorStateImplCopyWithImpl<$Res> $Res Function(_$HomeGameDoctorStateImpl) _then) : super(_value, _then); + /// Create a copy of HomeGameDoctorState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -208,7 +214,9 @@ class _$HomeGameDoctorStateImpl implements _HomeGameDoctorState { isFixingString, const DeepCollectionEquality().hash(_checkResult)); - @JsonKey(ignore: true) + /// Create a copy of HomeGameDoctorState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HomeGameDoctorStateImplCopyWith<_$HomeGameDoctorStateImpl> get copyWith => @@ -235,8 +243,11 @@ abstract class _HomeGameDoctorState implements HomeGameDoctorState { String get isFixingString; @override List>? get checkResult; + + /// Create a copy of HomeGameDoctorState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HomeGameDoctorStateImplCopyWith<_$HomeGameDoctorStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/game_doctor/game_doctor_ui_model.g.dart b/lib/ui/home/game_doctor/game_doctor_ui_model.g.dart index bb763b1..0356c88 100644 --- a/lib/ui/home/game_doctor/game_doctor_ui_model.g.dart +++ b/lib/ui/home/game_doctor/game_doctor_ui_model.g.dart @@ -7,7 +7,7 @@ part of 'game_doctor_ui_model.dart'; // ************************************************************************** String _$homeGameDoctorUIModelHash() => - r'137f6393bbbd76f3af0f7d0dd27d44d8473e42cc'; + r'b69a19a937ca375214a7c7e73b8288f577265625'; /// See also [HomeGameDoctorUIModel]. @ProviderFor(HomeGameDoctorUIModel) diff --git a/lib/ui/home/home_ui_model.freezed.dart b/lib/ui/home/home_ui_model.freezed.dart index ebf6120..d8a5fad 100644 --- a/lib/ui/home/home_ui_model.freezed.dart +++ b/lib/ui/home/home_ui_model.freezed.dart @@ -33,7 +33,9 @@ mixin _$HomeUIModelState { throw _privateConstructorUsedError; Map get isGameRunning => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of HomeUIModelState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HomeUIModelStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -70,6 +72,8 @@ class _$HomeUIModelStateCopyWithImpl<$Res, $Val extends HomeUIModelState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HomeUIModelState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -176,6 +180,8 @@ class __$$HomeUIModelStateImplCopyWithImpl<$Res> $Res Function(_$HomeUIModelStateImpl) _then) : super(_value, _then); + /// Create a copy of HomeUIModelState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -407,7 +413,9 @@ class _$HomeUIModelStateImpl implements _HomeUIModelState { const DeepCollectionEquality().hash(_countdownFestivalListData), const DeepCollectionEquality().hash(_isGameRunning)); - @JsonKey(ignore: true) + /// Create a copy of HomeUIModelState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HomeUIModelStateImplCopyWith<_$HomeUIModelStateImpl> get copyWith => @@ -457,8 +465,11 @@ abstract class _HomeUIModelState implements HomeUIModelState { List? get countdownFestivalListData; @override Map get isGameRunning; + + /// Create a copy of HomeUIModelState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HomeUIModelStateImplCopyWith<_$HomeUIModelStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/localization/advanced_localization_ui_model.freezed.dart b/lib/ui/home/localization/advanced_localization_ui_model.freezed.dart index fd8f886..8fb0fef 100644 --- a/lib/ui/home/localization/advanced_localization_ui_model.freezed.dart +++ b/lib/ui/home/localization/advanced_localization_ui_model.freezed.dart @@ -28,7 +28,9 @@ mixin _$AdvancedLocalizationUIState { int get serverGlobalIniLines => throw _privateConstructorUsedError; String get errorMessage => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of AdvancedLocalizationUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $AdvancedLocalizationUIStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -64,6 +66,8 @@ class _$AdvancedLocalizationUIStateCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of AdvancedLocalizationUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -149,6 +153,8 @@ class __$$AdvancedLocalizationUIStateImplCopyWithImpl<$Res> $Res Function(_$AdvancedLocalizationUIStateImpl) _then) : super(_value, _then); + /// Create a copy of AdvancedLocalizationUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -309,7 +315,9 @@ class _$AdvancedLocalizationUIStateImpl serverGlobalIniLines, errorMessage); - @JsonKey(ignore: true) + /// Create a copy of AdvancedLocalizationUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$AdvancedLocalizationUIStateImplCopyWith<_$AdvancedLocalizationUIStateImpl> @@ -348,8 +356,11 @@ abstract class _AdvancedLocalizationUIState int get serverGlobalIniLines; @override String get errorMessage; + + /// Create a copy of AdvancedLocalizationUIState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$AdvancedLocalizationUIStateImplCopyWith<_$AdvancedLocalizationUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/localization/advanced_localization_ui_model.g.dart b/lib/ui/home/localization/advanced_localization_ui_model.g.dart index a717dfe..6a25938 100644 --- a/lib/ui/home/localization/advanced_localization_ui_model.g.dart +++ b/lib/ui/home/localization/advanced_localization_ui_model.g.dart @@ -7,7 +7,7 @@ part of 'advanced_localization_ui_model.dart'; // ************************************************************************** String _$advancedLocalizationUIModelHash() => - r'096e175ecfef1defcb1dfcf657c7d0f6d4a164fa'; + r'8241143c6dec93cd705e6b2e65cbca711cdfe2fb'; /// See also [AdvancedLocalizationUIModel]. @ProviderFor(AdvancedLocalizationUIModel) diff --git a/lib/ui/home/localization/localization_ui_model.freezed.dart b/lib/ui/home/localization/localization_ui_model.freezed.dart index fb08736..aac3eb8 100644 --- a/lib/ui/home/localization/localization_ui_model.freezed.dart +++ b/lib/ui/home/localization/localization_ui_model.freezed.dart @@ -24,7 +24,9 @@ mixin _$LocalizationUIState { bool? get isInstalledAdvanced => throw _privateConstructorUsedError; List? get customizeList => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of LocalizationUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $LocalizationUIStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -54,6 +56,8 @@ class _$LocalizationUIStateCopyWithImpl<$Res, $Val extends LocalizationUIState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of LocalizationUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -118,6 +122,8 @@ class __$$LocalizationUIStateImplCopyWithImpl<$Res> $Res Function(_$LocalizationUIStateImpl) _then) : super(_value, _then); + /// Create a copy of LocalizationUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -234,7 +240,9 @@ class _$LocalizationUIStateImpl implements _LocalizationUIState { isInstalledAdvanced, const DeepCollectionEquality().hash(_customizeList)); - @JsonKey(ignore: true) + /// Create a copy of LocalizationUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$LocalizationUIStateImplCopyWith<_$LocalizationUIStateImpl> get copyWith => @@ -263,8 +271,11 @@ abstract class _LocalizationUIState implements LocalizationUIState { bool? get isInstalledAdvanced; @override List? get customizeList; + + /// Create a copy of LocalizationUIState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$LocalizationUIStateImplCopyWith<_$LocalizationUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/home/localization/localization_ui_model.g.dart b/lib/ui/home/localization/localization_ui_model.g.dart index 0cbeffa..86365ab 100644 --- a/lib/ui/home/localization/localization_ui_model.g.dart +++ b/lib/ui/home/localization/localization_ui_model.g.dart @@ -7,7 +7,7 @@ part of 'localization_ui_model.dart'; // ************************************************************************** String _$localizationUIModelHash() => - r'6fec8805faaafb12e1409fcbb9b0b28d3c4730ce'; + r'd08a3d100c72b3f1f4a6c96944d4a73bb3c21808'; /// See also [LocalizationUIModel]. @ProviderFor(LocalizationUIModel) diff --git a/lib/ui/home/performance/performance_ui_model.freezed.dart b/lib/ui/home/performance/performance_ui_model.freezed.dart index 2f09f66..a528e33 100644 --- a/lib/ui/home/performance/performance_ui_model.freezed.dart +++ b/lib/ui/home/performance/performance_ui_model.freezed.dart @@ -22,7 +22,9 @@ mixin _$HomePerformanceUIState { throw _privateConstructorUsedError; String get workingString => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of HomePerformanceUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HomePerformanceUIStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -51,6 +53,8 @@ class _$HomePerformanceUIStateCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HomePerformanceUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -106,6 +110,8 @@ class __$$HomePerformanceUIStateImplCopyWithImpl<$Res> $Res Function(_$HomePerformanceUIStateImpl) _then) : super(_value, _then); + /// Create a copy of HomePerformanceUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -194,7 +200,9 @@ class _$HomePerformanceUIStateImpl implements _HomePerformanceUIState { const DeepCollectionEquality().hash(_performanceMap), workingString); - @JsonKey(ignore: true) + /// Create a copy of HomePerformanceUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HomePerformanceUIStateImplCopyWith<_$HomePerformanceUIStateImpl> @@ -217,8 +225,11 @@ abstract class _HomePerformanceUIState implements HomePerformanceUIState { Map>? get performanceMap; @override String get workingString; + + /// Create a copy of HomePerformanceUIState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HomePerformanceUIStateImplCopyWith<_$HomePerformanceUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/settings/settings_ui_model.freezed.dart b/lib/ui/settings/settings_ui_model.freezed.dart index c74576e..50ecdd5 100644 --- a/lib/ui/settings/settings_ui_model.freezed.dart +++ b/lib/ui/settings/settings_ui_model.freezed.dart @@ -22,7 +22,9 @@ mixin _$SettingsUIState { String? get customGamePath => throw _privateConstructorUsedError; int get locationCacheSize => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of SettingsUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $SettingsUIStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -51,6 +53,8 @@ class _$SettingsUIStateCopyWithImpl<$Res, $Val extends SettingsUIState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of SettingsUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -109,6 +113,8 @@ class __$$SettingsUIStateImplCopyWithImpl<$Res> _$SettingsUIStateImpl _value, $Res Function(_$SettingsUIStateImpl) _then) : super(_value, _then); + /// Create a copy of SettingsUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -199,7 +205,9 @@ class _$SettingsUIStateImpl implements _SettingsUIState { customGamePath, locationCacheSize); - @JsonKey(ignore: true) + /// Create a copy of SettingsUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SettingsUIStateImplCopyWith<_$SettingsUIStateImpl> get copyWith => @@ -225,8 +233,11 @@ abstract class _SettingsUIState implements SettingsUIState { String? get customGamePath; @override int get locationCacheSize; + + /// Create a copy of SettingsUIState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$SettingsUIStateImplCopyWith<_$SettingsUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/tools/dialogs/rsi_launcher_enhance_dialog_ui.freezed.dart b/lib/ui/tools/dialogs/rsi_launcher_enhance_dialog_ui.freezed.dart index a81bb5e..b3016ad 100644 --- a/lib/ui/tools/dialogs/rsi_launcher_enhance_dialog_ui.freezed.dart +++ b/lib/ui/tools/dialogs/rsi_launcher_enhance_dialog_ui.freezed.dart @@ -23,7 +23,9 @@ mixin _$RSILauncherStateData { String? get enabledLocalization => throw _privateConstructorUsedError; bool? get enableDownloaderBoost => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of RSILauncherStateData + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $RSILauncherStateDataCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -54,6 +56,8 @@ class _$RSILauncherStateDataCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of RSILauncherStateData + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -118,6 +122,8 @@ class __$$RSILauncherStateDataImplCopyWithImpl<$Res> $Res Function(_$RSILauncherStateDataImpl) _then) : super(_value, _then); + /// Create a copy of RSILauncherStateData + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -208,7 +214,9 @@ class _$RSILauncherStateDataImpl implements _RSILauncherStateData { int get hashCode => Object.hash(runtimeType, version, data, serverData, isPatchInstalled, enabledLocalization, enableDownloaderBoost); - @JsonKey(ignore: true) + /// Create a copy of RSILauncherStateData + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RSILauncherStateDataImplCopyWith<_$RSILauncherStateDataImpl> @@ -238,8 +246,11 @@ abstract class _RSILauncherStateData implements RSILauncherStateData { String? get enabledLocalization; @override bool? get enableDownloaderBoost; + + /// Create a copy of RSILauncherStateData + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$RSILauncherStateDataImplCopyWith<_$RSILauncherStateDataImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/tools/tools_ui_model.freezed.dart b/lib/ui/tools/tools_ui_model.freezed.dart index 983e82a..7b0d934 100644 --- a/lib/ui/tools/tools_ui_model.freezed.dart +++ b/lib/ui/tools/tools_ui_model.freezed.dart @@ -25,7 +25,9 @@ mixin _$ToolsUIState { List get items => throw _privateConstructorUsedError; bool get isItemLoading => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + /// Create a copy of ToolsUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $ToolsUIStateCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -56,6 +58,8 @@ class _$ToolsUIStateCopyWithImpl<$Res, $Val extends ToolsUIState> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of ToolsUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -126,6 +130,8 @@ class __$$ToolsUIStateImplCopyWithImpl<$Res> _$ToolsUIStateImpl _value, $Res Function(_$ToolsUIStateImpl) _then) : super(_value, _then); + /// Create a copy of ToolsUIState + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -262,7 +268,9 @@ class _$ToolsUIStateImpl implements _ToolsUIState { const DeepCollectionEquality().hash(_items), isItemLoading); - @JsonKey(ignore: true) + /// Create a copy of ToolsUIState + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$ToolsUIStateImplCopyWith<_$ToolsUIStateImpl> get copyWith => @@ -293,8 +301,11 @@ abstract class _ToolsUIState implements ToolsUIState { List get items; @override bool get isItemLoading; + + /// Create a copy of ToolsUIState + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$ToolsUIStateImplCopyWith<_$ToolsUIStateImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/ui/tools/tools_ui_model.g.dart b/lib/ui/tools/tools_ui_model.g.dart index a86c92f..8ea2157 100644 --- a/lib/ui/tools/tools_ui_model.g.dart +++ b/lib/ui/tools/tools_ui_model.g.dart @@ -6,7 +6,7 @@ part of 'tools_ui_model.dart'; // RiverpodGenerator // ************************************************************************** -String _$toolsUIModelHash() => r'668c16bdd42448a4dd323fc84da8dc96641a0751'; +String _$toolsUIModelHash() => r'b61ae444063db4c550fbf71e724eddd0f7104dc5'; /// See also [ToolsUIModel]. @ProviderFor(ToolsUIModel) diff --git a/rust/src/frb_generated.rs b/rust/src/frb_generated.rs index 74651f6..d1a6ae9 100644 --- a/rust/src/frb_generated.rs +++ b/rust/src/frb_generated.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.1.0. +// Generated by `flutter_rust_bridge`@ 2.3.0. #![allow( non_camel_case_types, @@ -36,7 +36,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_opaque = RustOpaqueNom, default_rust_auto_opaque = RustAutoOpaqueNom, ); -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.1.0"; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.3.0"; pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273; // Section: executor @@ -1120,7 +1120,7 @@ impl SseEncode for () { #[cfg(not(target_family = "wasm"))] mod io { // This file is automatically generated, so please do not edit it. - // Generated by `flutter_rust_bridge`@ 2.1.0. + // Generated by `flutter_rust_bridge`@ 2.3.0. // Section: imports