migration done

This commit is contained in:
Fabian Freund
2025-09-19 11:50:34 +02:00
parent b01012c76c
commit 79da47d11b
198 changed files with 17341 additions and 15711 deletions
@@ -35,12 +35,13 @@ abstract class _$TabStateCWProxy {
TabState findResultState(FindResultState findResultState);
/// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `TabState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support.
/// Creates a new instance with the provided field values.
/// Passing `null` to a nullable field nullifies it, while `null` for a non-nullable field is ignored. To update a single field use `TabState(...).copyWith.fieldName(value)`.
///
/// Usage
/// Example:
/// ```dart
/// TabState(...).copyWith(id: 12, name: "My name")
/// ````
/// ```
TabState call({
String? parentId,
String? contextId,
@@ -59,65 +60,67 @@ abstract class _$TabStateCWProxy {
});
}
/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfTabState.copyWith(...)`. Additionally contains functions for specific fields e.g. `instanceOfTabState.copyWith.fieldName(...)`
/// Callable proxy for `copyWith` functionality.
/// Use as `instanceOfTabState.copyWith(...)` or call `instanceOfTabState.copyWith.fieldName(value)` for a single field.
class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
const _$TabStateCWProxyImpl(this._value);
final TabState _value;
@override
TabState parentId(String? parentId) => this(parentId: parentId);
TabState parentId(String? parentId) => call(parentId: parentId);
@override
TabState contextId(String? contextId) => this(contextId: contextId);
TabState contextId(String? contextId) => call(contextId: contextId);
@override
TabState url(Uri url) => this(url: url);
TabState url(Uri url) => call(url: url);
@override
TabState title(String title) => this(title: title);
TabState title(String title) => call(title: title);
@override
TabState icon(EquatableImage? icon) => this(icon: icon);
TabState icon(EquatableImage? icon) => call(icon: icon);
@override
TabState thumbnail(EquatableImage? thumbnail) => this(thumbnail: thumbnail);
TabState thumbnail(EquatableImage? thumbnail) => call(thumbnail: thumbnail);
@override
TabState progress(int progress) => this(progress: progress);
TabState progress(int progress) => call(progress: progress);
@override
TabState isPrivate(bool isPrivate) => this(isPrivate: isPrivate);
TabState isPrivate(bool isPrivate) => call(isPrivate: isPrivate);
@override
TabState isFullScreen(bool isFullScreen) => this(isFullScreen: isFullScreen);
TabState isFullScreen(bool isFullScreen) => call(isFullScreen: isFullScreen);
@override
TabState isLoading(bool isLoading) => this(isLoading: isLoading);
TabState isLoading(bool isLoading) => call(isLoading: isLoading);
@override
TabState securityInfoState(SecurityState securityInfoState) =>
this(securityInfoState: securityInfoState);
call(securityInfoState: securityInfoState);
@override
TabState historyState(HistoryState historyState) =>
this(historyState: historyState);
call(historyState: historyState);
@override
TabState readerableState(ReaderableState readerableState) =>
this(readerableState: readerableState);
call(readerableState: readerableState);
@override
TabState findResultState(FindResultState findResultState) =>
this(findResultState: findResultState);
call(findResultState: findResultState);
@override
/// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `TabState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support.
/// Creates a new instance with the provided field values.
/// Passing `null` to a nullable field nullifies it, while `null` for a non-nullable field is ignored. To update a single field use `TabState(...).copyWith.fieldName(value)`.
///
/// Usage
/// Example:
/// ```dart
/// TabState(...).copyWith(id: 12, name: "My name")
/// ````
/// ```
TabState call({
Object? parentId = const $CopyWithPlaceholder(),
Object? contextId = const $CopyWithPlaceholder(),
@@ -144,11 +147,11 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
? _value.contextId
// ignore: cast_nullable_to_non_nullable
: contextId as String?,
url: url == const $CopyWithPlaceholder()
url: url == const $CopyWithPlaceholder() || url == null
? _value.url
// ignore: cast_nullable_to_non_nullable
: url as Uri,
title: title == const $CopyWithPlaceholder()
title: title == const $CopyWithPlaceholder() || title == null
? _value.title
// ignore: cast_nullable_to_non_nullable
: title as String,
@@ -160,35 +163,43 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
? _value.thumbnail
// ignore: cast_nullable_to_non_nullable
: thumbnail as EquatableImage?,
progress: progress == const $CopyWithPlaceholder()
progress: progress == const $CopyWithPlaceholder() || progress == null
? _value.progress
// ignore: cast_nullable_to_non_nullable
: progress as int,
isPrivate: isPrivate == const $CopyWithPlaceholder()
isPrivate: isPrivate == const $CopyWithPlaceholder() || isPrivate == null
? _value.isPrivate
// ignore: cast_nullable_to_non_nullable
: isPrivate as bool,
isFullScreen: isFullScreen == const $CopyWithPlaceholder()
isFullScreen:
isFullScreen == const $CopyWithPlaceholder() || isFullScreen == null
? _value.isFullScreen
// ignore: cast_nullable_to_non_nullable
: isFullScreen as bool,
isLoading: isLoading == const $CopyWithPlaceholder()
isLoading: isLoading == const $CopyWithPlaceholder() || isLoading == null
? _value.isLoading
// ignore: cast_nullable_to_non_nullable
: isLoading as bool,
securityInfoState: securityInfoState == const $CopyWithPlaceholder()
securityInfoState:
securityInfoState == const $CopyWithPlaceholder() ||
securityInfoState == null
? _value.securityInfoState
// ignore: cast_nullable_to_non_nullable
: securityInfoState as SecurityState,
historyState: historyState == const $CopyWithPlaceholder()
historyState:
historyState == const $CopyWithPlaceholder() || historyState == null
? _value.historyState
// ignore: cast_nullable_to_non_nullable
: historyState as HistoryState,
readerableState: readerableState == const $CopyWithPlaceholder()
readerableState:
readerableState == const $CopyWithPlaceholder() ||
readerableState == null
? _value.readerableState
// ignore: cast_nullable_to_non_nullable
: readerableState as ReaderableState,
findResultState: findResultState == const $CopyWithPlaceholder()
findResultState:
findResultState == const $CopyWithPlaceholder() ||
findResultState == null
? _value.findResultState
// ignore: cast_nullable_to_non_nullable
: findResultState as FindResultState,
@@ -197,7 +208,8 @@ class _$TabStateCWProxyImpl implements _$TabStateCWProxy {
}
extension $TabStateCopyWith on TabState {
/// Returns a callable class that can be used as follows: `instanceOfTabState.copyWith(...)` or like so:`instanceOfTabState.copyWith.fieldName(...)`.
/// Returns a callable class used to build a new instance with modified fields.
/// Example: `instanceOfTabState.copyWith(...)` or `instanceOfTabState.copyWith.fieldName(...)`.
// ignore: library_private_types_in_public_api
_$TabStateCWProxy get copyWith => _$TabStateCWProxyImpl(this);
}
@@ -21,12 +21,13 @@ abstract class _$WebExtensionStateCWProxy {
WebExtensionState icon(EquatableImage? icon);
/// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `WebExtensionState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support.
/// Creates a new instance with the provided field values.
/// Passing `null` to a nullable field nullifies it, while `null` for a non-nullable field is ignored. To update a single field use `WebExtensionState(...).copyWith.fieldName(value)`.
///
/// Usage
/// Example:
/// ```dart
/// WebExtensionState(...).copyWith(id: 12, name: "My name")
/// ````
/// ```
WebExtensionState call({
String extensionId,
bool enabled,
@@ -38,7 +39,8 @@ abstract class _$WebExtensionStateCWProxy {
});
}
/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfWebExtensionState.copyWith(...)`. Additionally contains functions for specific fields e.g. `instanceOfWebExtensionState.copyWith.fieldName(...)`
/// Callable proxy for `copyWith` functionality.
/// Use as `instanceOfWebExtensionState.copyWith(...)` or call `instanceOfWebExtensionState.copyWith.fieldName(value)` for a single field.
class _$WebExtensionStateCWProxyImpl implements _$WebExtensionStateCWProxy {
const _$WebExtensionStateCWProxyImpl(this._value);
@@ -46,35 +48,36 @@ class _$WebExtensionStateCWProxyImpl implements _$WebExtensionStateCWProxy {
@override
WebExtensionState extensionId(String extensionId) =>
this(extensionId: extensionId);
call(extensionId: extensionId);
@override
WebExtensionState enabled(bool enabled) => this(enabled: enabled);
WebExtensionState enabled(bool enabled) => call(enabled: enabled);
@override
WebExtensionState title(String? title) => this(title: title);
WebExtensionState title(String? title) => call(title: title);
@override
WebExtensionState badgeText(String? badgeText) => this(badgeText: badgeText);
WebExtensionState badgeText(String? badgeText) => call(badgeText: badgeText);
@override
WebExtensionState badgeTextColor(Color? badgeTextColor) =>
this(badgeTextColor: badgeTextColor);
call(badgeTextColor: badgeTextColor);
@override
WebExtensionState badgeBackgroundColor(Color? badgeBackgroundColor) =>
this(badgeBackgroundColor: badgeBackgroundColor);
call(badgeBackgroundColor: badgeBackgroundColor);
@override
WebExtensionState icon(EquatableImage? icon) => this(icon: icon);
WebExtensionState icon(EquatableImage? icon) => call(icon: icon);
@override
/// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `WebExtensionState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support.
/// Creates a new instance with the provided field values.
/// Passing `null` to a nullable field nullifies it, while `null` for a non-nullable field is ignored. To update a single field use `WebExtensionState(...).copyWith.fieldName(value)`.
///
/// Usage
/// Example:
/// ```dart
/// WebExtensionState(...).copyWith(id: 12, name: "My name")
/// ````
/// ```
WebExtensionState call({
Object? extensionId = const $CopyWithPlaceholder(),
Object? enabled = const $CopyWithPlaceholder(),
@@ -85,11 +88,12 @@ class _$WebExtensionStateCWProxyImpl implements _$WebExtensionStateCWProxy {
Object? icon = const $CopyWithPlaceholder(),
}) {
return WebExtensionState(
extensionId: extensionId == const $CopyWithPlaceholder()
extensionId:
extensionId == const $CopyWithPlaceholder() || extensionId == null
? _value.extensionId
// ignore: cast_nullable_to_non_nullable
: extensionId as String,
enabled: enabled == const $CopyWithPlaceholder()
enabled: enabled == const $CopyWithPlaceholder() || enabled == null
? _value.enabled
// ignore: cast_nullable_to_non_nullable
: enabled as bool,
@@ -118,7 +122,8 @@ class _$WebExtensionStateCWProxyImpl implements _$WebExtensionStateCWProxy {
}
extension $WebExtensionStateCopyWith on WebExtensionState {
/// Returns a callable class that can be used as follows: `instanceOfWebExtensionState.copyWith(...)` or like so:`instanceOfWebExtensionState.copyWith.fieldName(...)`.
/// Returns a callable class used to build a new instance with modified fields.
/// Example: `instanceOfWebExtensionState.copyWith(...)` or `instanceOfWebExtensionState.copyWith.fieldName(...)`.
// ignore: library_private_types_in_public_api
_$WebExtensionStateCWProxy get copyWith =>
_$WebExtensionStateCWProxyImpl(this);