mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-08-17 20:28:56 +08:00
feat: CommunityInputMethod Install
This commit is contained in:
@@ -17,6 +17,10 @@ final _privateConstructorUsedError = UnsupportedError(
|
||||
/// @nodoc
|
||||
mixin _$LocalizationUIState {
|
||||
String? get selectedLanguage => throw _privateConstructorUsedError;
|
||||
String? get installedCommunityInputMethodSupportVersion =>
|
||||
throw _privateConstructorUsedError;
|
||||
InputMethodApiLanguageData? get communityInputMethodLanguageData =>
|
||||
throw _privateConstructorUsedError;
|
||||
Map<String, ScLocalizationData>? get apiLocalizationData =>
|
||||
throw _privateConstructorUsedError;
|
||||
String get workingVersion => throw _privateConstructorUsedError;
|
||||
@@ -39,6 +43,8 @@ abstract class $LocalizationUIStateCopyWith<$Res> {
|
||||
@useResult
|
||||
$Res call(
|
||||
{String? selectedLanguage,
|
||||
String? installedCommunityInputMethodSupportVersion,
|
||||
InputMethodApiLanguageData? communityInputMethodLanguageData,
|
||||
Map<String, ScLocalizationData>? apiLocalizationData,
|
||||
String workingVersion,
|
||||
MapEntry<bool, String>? patchStatus,
|
||||
@@ -62,6 +68,8 @@ class _$LocalizationUIStateCopyWithImpl<$Res, $Val extends LocalizationUIState>
|
||||
@override
|
||||
$Res call({
|
||||
Object? selectedLanguage = freezed,
|
||||
Object? installedCommunityInputMethodSupportVersion = freezed,
|
||||
Object? communityInputMethodLanguageData = freezed,
|
||||
Object? apiLocalizationData = freezed,
|
||||
Object? workingVersion = null,
|
||||
Object? patchStatus = freezed,
|
||||
@@ -73,6 +81,16 @@ class _$LocalizationUIStateCopyWithImpl<$Res, $Val extends LocalizationUIState>
|
||||
? _value.selectedLanguage
|
||||
: selectedLanguage // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
installedCommunityInputMethodSupportVersion: freezed ==
|
||||
installedCommunityInputMethodSupportVersion
|
||||
? _value.installedCommunityInputMethodSupportVersion
|
||||
: installedCommunityInputMethodSupportVersion // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
communityInputMethodLanguageData: freezed ==
|
||||
communityInputMethodLanguageData
|
||||
? _value.communityInputMethodLanguageData
|
||||
: communityInputMethodLanguageData // ignore: cast_nullable_to_non_nullable
|
||||
as InputMethodApiLanguageData?,
|
||||
apiLocalizationData: freezed == apiLocalizationData
|
||||
? _value.apiLocalizationData
|
||||
: apiLocalizationData // ignore: cast_nullable_to_non_nullable
|
||||
@@ -107,6 +125,8 @@ abstract class _$$LocalizationUIStateImplCopyWith<$Res>
|
||||
@useResult
|
||||
$Res call(
|
||||
{String? selectedLanguage,
|
||||
String? installedCommunityInputMethodSupportVersion,
|
||||
InputMethodApiLanguageData? communityInputMethodLanguageData,
|
||||
Map<String, ScLocalizationData>? apiLocalizationData,
|
||||
String workingVersion,
|
||||
MapEntry<bool, String>? patchStatus,
|
||||
@@ -128,6 +148,8 @@ class __$$LocalizationUIStateImplCopyWithImpl<$Res>
|
||||
@override
|
||||
$Res call({
|
||||
Object? selectedLanguage = freezed,
|
||||
Object? installedCommunityInputMethodSupportVersion = freezed,
|
||||
Object? communityInputMethodLanguageData = freezed,
|
||||
Object? apiLocalizationData = freezed,
|
||||
Object? workingVersion = null,
|
||||
Object? patchStatus = freezed,
|
||||
@@ -139,6 +161,16 @@ class __$$LocalizationUIStateImplCopyWithImpl<$Res>
|
||||
? _value.selectedLanguage
|
||||
: selectedLanguage // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
installedCommunityInputMethodSupportVersion: freezed ==
|
||||
installedCommunityInputMethodSupportVersion
|
||||
? _value.installedCommunityInputMethodSupportVersion
|
||||
: installedCommunityInputMethodSupportVersion // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
communityInputMethodLanguageData: freezed ==
|
||||
communityInputMethodLanguageData
|
||||
? _value.communityInputMethodLanguageData
|
||||
: communityInputMethodLanguageData // ignore: cast_nullable_to_non_nullable
|
||||
as InputMethodApiLanguageData?,
|
||||
apiLocalizationData: freezed == apiLocalizationData
|
||||
? _value._apiLocalizationData
|
||||
: apiLocalizationData // ignore: cast_nullable_to_non_nullable
|
||||
@@ -168,6 +200,8 @@ class __$$LocalizationUIStateImplCopyWithImpl<$Res>
|
||||
class _$LocalizationUIStateImpl implements _LocalizationUIState {
|
||||
_$LocalizationUIStateImpl(
|
||||
{this.selectedLanguage,
|
||||
this.installedCommunityInputMethodSupportVersion,
|
||||
this.communityInputMethodLanguageData,
|
||||
final Map<String, ScLocalizationData>? apiLocalizationData,
|
||||
this.workingVersion = "",
|
||||
this.patchStatus,
|
||||
@@ -178,6 +212,10 @@ class _$LocalizationUIStateImpl implements _LocalizationUIState {
|
||||
|
||||
@override
|
||||
final String? selectedLanguage;
|
||||
@override
|
||||
final String? installedCommunityInputMethodSupportVersion;
|
||||
@override
|
||||
final InputMethodApiLanguageData? communityInputMethodLanguageData;
|
||||
final Map<String, ScLocalizationData>? _apiLocalizationData;
|
||||
@override
|
||||
Map<String, ScLocalizationData>? get apiLocalizationData {
|
||||
@@ -208,7 +246,7 @@ class _$LocalizationUIStateImpl implements _LocalizationUIState {
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'LocalizationUIState(selectedLanguage: $selectedLanguage, apiLocalizationData: $apiLocalizationData, workingVersion: $workingVersion, patchStatus: $patchStatus, isInstalledAdvanced: $isInstalledAdvanced, customizeList: $customizeList)';
|
||||
return 'LocalizationUIState(selectedLanguage: $selectedLanguage, installedCommunityInputMethodSupportVersion: $installedCommunityInputMethodSupportVersion, communityInputMethodLanguageData: $communityInputMethodLanguageData, apiLocalizationData: $apiLocalizationData, workingVersion: $workingVersion, patchStatus: $patchStatus, isInstalledAdvanced: $isInstalledAdvanced, customizeList: $customizeList)';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -218,6 +256,14 @@ class _$LocalizationUIStateImpl implements _LocalizationUIState {
|
||||
other is _$LocalizationUIStateImpl &&
|
||||
(identical(other.selectedLanguage, selectedLanguage) ||
|
||||
other.selectedLanguage == selectedLanguage) &&
|
||||
(identical(other.installedCommunityInputMethodSupportVersion,
|
||||
installedCommunityInputMethodSupportVersion) ||
|
||||
other.installedCommunityInputMethodSupportVersion ==
|
||||
installedCommunityInputMethodSupportVersion) &&
|
||||
(identical(other.communityInputMethodLanguageData,
|
||||
communityInputMethodLanguageData) ||
|
||||
other.communityInputMethodLanguageData ==
|
||||
communityInputMethodLanguageData) &&
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._apiLocalizationData, _apiLocalizationData) &&
|
||||
(identical(other.workingVersion, workingVersion) ||
|
||||
@@ -234,6 +280,8 @@ class _$LocalizationUIStateImpl implements _LocalizationUIState {
|
||||
int get hashCode => Object.hash(
|
||||
runtimeType,
|
||||
selectedLanguage,
|
||||
installedCommunityInputMethodSupportVersion,
|
||||
communityInputMethodLanguageData,
|
||||
const DeepCollectionEquality().hash(_apiLocalizationData),
|
||||
workingVersion,
|
||||
patchStatus,
|
||||
@@ -253,6 +301,8 @@ class _$LocalizationUIStateImpl implements _LocalizationUIState {
|
||||
abstract class _LocalizationUIState implements LocalizationUIState {
|
||||
factory _LocalizationUIState(
|
||||
{final String? selectedLanguage,
|
||||
final String? installedCommunityInputMethodSupportVersion,
|
||||
final InputMethodApiLanguageData? communityInputMethodLanguageData,
|
||||
final Map<String, ScLocalizationData>? apiLocalizationData,
|
||||
final String workingVersion,
|
||||
final MapEntry<bool, String>? patchStatus,
|
||||
@@ -262,6 +312,10 @@ abstract class _LocalizationUIState implements LocalizationUIState {
|
||||
@override
|
||||
String? get selectedLanguage;
|
||||
@override
|
||||
String? get installedCommunityInputMethodSupportVersion;
|
||||
@override
|
||||
InputMethodApiLanguageData? get communityInputMethodLanguageData;
|
||||
@override
|
||||
Map<String, ScLocalizationData>? get apiLocalizationData;
|
||||
@override
|
||||
String get workingVersion;
|
||||
|
Reference in New Issue
Block a user