|
@@ -1,7 +1,7 @@
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
|
|
|
|
|
|
-part of 'menu_watch.dart';
|
|
|
+part of 'menu_listen.dart';
|
|
|
|
|
|
// **************************************************************************
|
|
|
// FreezedGenerator
|
|
@@ -13,8 +13,8 @@ final _privateConstructorUsedError = UnsupportedError(
|
|
|
'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 informations: https://github.com/rrousselGit/freezed#custom-getters-and-methods');
|
|
|
|
|
|
/// @nodoc
|
|
|
-class _$MenuWatchEventTearOff {
|
|
|
- const _$MenuWatchEventTearOff();
|
|
|
+class _$MenuListenEventTearOff {
|
|
|
+ const _$MenuListenEventTearOff();
|
|
|
|
|
|
_Started started() {
|
|
|
return const _Started();
|
|
@@ -28,10 +28,10 @@ class _$MenuWatchEventTearOff {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-const $MenuWatchEvent = _$MenuWatchEventTearOff();
|
|
|
+const $MenuListenEvent = _$MenuListenEventTearOff();
|
|
|
|
|
|
/// @nodoc
|
|
|
-mixin _$MenuWatchEvent {
|
|
|
+mixin _$MenuListenEvent {
|
|
|
@optionalTypeArgs
|
|
|
TResult when<TResult extends Object?>({
|
|
|
required TResult Function() started,
|
|
@@ -63,20 +63,20 @@ mixin _$MenuWatchEvent {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-abstract class $MenuWatchEventCopyWith<$Res> {
|
|
|
- factory $MenuWatchEventCopyWith(
|
|
|
- MenuWatchEvent value, $Res Function(MenuWatchEvent) then) =
|
|
|
- _$MenuWatchEventCopyWithImpl<$Res>;
|
|
|
+abstract class $MenuListenEventCopyWith<$Res> {
|
|
|
+ factory $MenuListenEventCopyWith(
|
|
|
+ MenuListenEvent value, $Res Function(MenuListenEvent) then) =
|
|
|
+ _$MenuListenEventCopyWithImpl<$Res>;
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class _$MenuWatchEventCopyWithImpl<$Res>
|
|
|
- implements $MenuWatchEventCopyWith<$Res> {
|
|
|
- _$MenuWatchEventCopyWithImpl(this._value, this._then);
|
|
|
+class _$MenuListenEventCopyWithImpl<$Res>
|
|
|
+ implements $MenuListenEventCopyWith<$Res> {
|
|
|
+ _$MenuListenEventCopyWithImpl(this._value, this._then);
|
|
|
|
|
|
- final MenuWatchEvent _value;
|
|
|
+ final MenuListenEvent _value;
|
|
|
// ignore: unused_field
|
|
|
- final $Res Function(MenuWatchEvent) _then;
|
|
|
+ final $Res Function(MenuListenEvent) _then;
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
@@ -86,7 +86,7 @@ abstract class _$StartedCopyWith<$Res> {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class __$StartedCopyWithImpl<$Res> extends _$MenuWatchEventCopyWithImpl<$Res>
|
|
|
+class __$StartedCopyWithImpl<$Res> extends _$MenuListenEventCopyWithImpl<$Res>
|
|
|
implements _$StartedCopyWith<$Res> {
|
|
|
__$StartedCopyWithImpl(_Started _value, $Res Function(_Started) _then)
|
|
|
: super(_value, (v) => _then(v as _Started));
|
|
@@ -102,7 +102,7 @@ class _$_Started implements _Started {
|
|
|
|
|
|
@override
|
|
|
String toString() {
|
|
|
- return 'MenuWatchEvent.started()';
|
|
|
+ return 'MenuListenEvent.started()';
|
|
|
}
|
|
|
|
|
|
@override
|
|
@@ -160,7 +160,7 @@ class _$_Started implements _Started {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-abstract class _Started implements MenuWatchEvent {
|
|
|
+abstract class _Started implements MenuListenEvent {
|
|
|
const factory _Started() = _$_Started;
|
|
|
}
|
|
|
|
|
@@ -174,7 +174,7 @@ abstract class $AppsReceivedCopyWith<$Res> {
|
|
|
|
|
|
/// @nodoc
|
|
|
class _$AppsReceivedCopyWithImpl<$Res>
|
|
|
- extends _$MenuWatchEventCopyWithImpl<$Res>
|
|
|
+ extends _$MenuListenEventCopyWithImpl<$Res>
|
|
|
implements $AppsReceivedCopyWith<$Res> {
|
|
|
_$AppsReceivedCopyWithImpl(
|
|
|
AppsReceived _value, $Res Function(AppsReceived) _then)
|
|
@@ -206,7 +206,7 @@ class _$AppsReceived implements AppsReceived {
|
|
|
|
|
|
@override
|
|
|
String toString() {
|
|
|
- return 'MenuWatchEvent.appsReceived(appsOrFail: $appsOrFail)';
|
|
|
+ return 'MenuListenEvent.appsReceived(appsOrFail: $appsOrFail)';
|
|
|
}
|
|
|
|
|
|
@override
|
|
@@ -274,7 +274,7 @@ class _$AppsReceived implements AppsReceived {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-abstract class AppsReceived implements MenuWatchEvent {
|
|
|
+abstract class AppsReceived implements MenuListenEvent {
|
|
|
const factory AppsReceived(Either<List<App>, WorkspaceError> appsOrFail) =
|
|
|
_$AppsReceived;
|
|
|
|
|
@@ -286,8 +286,8 @@ abstract class AppsReceived implements MenuWatchEvent {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class _$MenuWatchStateTearOff {
|
|
|
- const _$MenuWatchStateTearOff();
|
|
|
+class _$MenuListenStateTearOff {
|
|
|
+ const _$MenuListenStateTearOff();
|
|
|
|
|
|
_Initial initial() {
|
|
|
return const _Initial();
|
|
@@ -307,10 +307,10 @@ class _$MenuWatchStateTearOff {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-const $MenuWatchState = _$MenuWatchStateTearOff();
|
|
|
+const $MenuListenState = _$MenuListenStateTearOff();
|
|
|
|
|
|
/// @nodoc
|
|
|
-mixin _$MenuWatchState {
|
|
|
+mixin _$MenuListenState {
|
|
|
@optionalTypeArgs
|
|
|
TResult when<TResult extends Object?>({
|
|
|
required TResult Function() initial,
|
|
@@ -344,20 +344,20 @@ mixin _$MenuWatchState {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-abstract class $MenuWatchStateCopyWith<$Res> {
|
|
|
- factory $MenuWatchStateCopyWith(
|
|
|
- MenuWatchState value, $Res Function(MenuWatchState) then) =
|
|
|
- _$MenuWatchStateCopyWithImpl<$Res>;
|
|
|
+abstract class $MenuListenStateCopyWith<$Res> {
|
|
|
+ factory $MenuListenStateCopyWith(
|
|
|
+ MenuListenState value, $Res Function(MenuListenState) then) =
|
|
|
+ _$MenuListenStateCopyWithImpl<$Res>;
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class _$MenuWatchStateCopyWithImpl<$Res>
|
|
|
- implements $MenuWatchStateCopyWith<$Res> {
|
|
|
- _$MenuWatchStateCopyWithImpl(this._value, this._then);
|
|
|
+class _$MenuListenStateCopyWithImpl<$Res>
|
|
|
+ implements $MenuListenStateCopyWith<$Res> {
|
|
|
+ _$MenuListenStateCopyWithImpl(this._value, this._then);
|
|
|
|
|
|
- final MenuWatchState _value;
|
|
|
+ final MenuListenState _value;
|
|
|
// ignore: unused_field
|
|
|
- final $Res Function(MenuWatchState) _then;
|
|
|
+ final $Res Function(MenuListenState) _then;
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
@@ -367,7 +367,7 @@ abstract class _$InitialCopyWith<$Res> {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class __$InitialCopyWithImpl<$Res> extends _$MenuWatchStateCopyWithImpl<$Res>
|
|
|
+class __$InitialCopyWithImpl<$Res> extends _$MenuListenStateCopyWithImpl<$Res>
|
|
|
implements _$InitialCopyWith<$Res> {
|
|
|
__$InitialCopyWithImpl(_Initial _value, $Res Function(_Initial) _then)
|
|
|
: super(_value, (v) => _then(v as _Initial));
|
|
@@ -383,7 +383,7 @@ class _$_Initial implements _Initial {
|
|
|
|
|
|
@override
|
|
|
String toString() {
|
|
|
- return 'MenuWatchState.initial()';
|
|
|
+ return 'MenuListenState.initial()';
|
|
|
}
|
|
|
|
|
|
@override
|
|
@@ -443,7 +443,7 @@ class _$_Initial implements _Initial {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-abstract class _Initial implements MenuWatchState {
|
|
|
+abstract class _Initial implements MenuListenState {
|
|
|
const factory _Initial() = _$_Initial;
|
|
|
}
|
|
|
|
|
@@ -455,7 +455,7 @@ abstract class _$LoadAppsCopyWith<$Res> {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class __$LoadAppsCopyWithImpl<$Res> extends _$MenuWatchStateCopyWithImpl<$Res>
|
|
|
+class __$LoadAppsCopyWithImpl<$Res> extends _$MenuListenStateCopyWithImpl<$Res>
|
|
|
implements _$LoadAppsCopyWith<$Res> {
|
|
|
__$LoadAppsCopyWithImpl(_LoadApps _value, $Res Function(_LoadApps) _then)
|
|
|
: super(_value, (v) => _then(v as _LoadApps));
|
|
@@ -486,7 +486,7 @@ class _$_LoadApps implements _LoadApps {
|
|
|
|
|
|
@override
|
|
|
String toString() {
|
|
|
- return 'MenuWatchState.loadApps(apps: $apps)';
|
|
|
+ return 'MenuListenState.loadApps(apps: $apps)';
|
|
|
}
|
|
|
|
|
|
@override
|
|
@@ -555,7 +555,7 @@ class _$_LoadApps implements _LoadApps {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-abstract class _LoadApps implements MenuWatchState {
|
|
|
+abstract class _LoadApps implements MenuListenState {
|
|
|
const factory _LoadApps(List<App> apps) = _$_LoadApps;
|
|
|
|
|
|
List<App> get apps => throw _privateConstructorUsedError;
|
|
@@ -572,7 +572,7 @@ abstract class _$LoadFailCopyWith<$Res> {
|
|
|
}
|
|
|
|
|
|
/// @nodoc
|
|
|
-class __$LoadFailCopyWithImpl<$Res> extends _$MenuWatchStateCopyWithImpl<$Res>
|
|
|
+class __$LoadFailCopyWithImpl<$Res> extends _$MenuListenStateCopyWithImpl<$Res>
|
|
|
implements _$LoadFailCopyWith<$Res> {
|
|
|
__$LoadFailCopyWithImpl(_LoadFail _value, $Res Function(_LoadFail) _then)
|
|
|
: super(_value, (v) => _then(v as _LoadFail));
|
|
@@ -603,7 +603,7 @@ class _$_LoadFail implements _LoadFail {
|
|
|
|
|
|
@override
|
|
|
String toString() {
|
|
|
- return 'MenuWatchState.loadFail(error: $error)';
|
|
|
+ return 'MenuListenState.loadFail(error: $error)';
|
|
|
}
|
|
|
|
|
|
@override
|
|
@@ -672,7 +672,7 @@ class _$_LoadFail implements _LoadFail {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-abstract class _LoadFail implements MenuWatchState {
|
|
|
+abstract class _LoadFail implements MenuListenState {
|
|
|
const factory _LoadFail(WorkspaceError error) = _$_LoadFail;
|
|
|
|
|
|
WorkspaceError get error => throw _privateConstructorUsedError;
|