mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 07:54:44 +08:00
bump: Flutter 3.32.1 Rust 1.87.0
fix: rsi launcher patch 2.4.0
This commit is contained in:
@ -19,7 +19,7 @@ part 'aria2c.g.dart';
|
||||
part 'aria2c.freezed.dart';
|
||||
|
||||
@freezed
|
||||
class Aria2cModelState with _$Aria2cModelState {
|
||||
abstract class Aria2cModelState with _$Aria2cModelState {
|
||||
const factory Aria2cModelState({
|
||||
required String aria2cDir,
|
||||
Aria2c? aria2c,
|
||||
|
@ -1,3 +1,4 @@
|
||||
// dart format width=80
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
@ -9,139 +10,25 @@ part of 'aria2c.dart';
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// dart format off
|
||||
T _$identity<T>(T value) => value;
|
||||
|
||||
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 information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
|
||||
|
||||
/// @nodoc
|
||||
mixin _$Aria2cModelState {
|
||||
String get aria2cDir => throw _privateConstructorUsedError;
|
||||
Aria2c? get aria2c => throw _privateConstructorUsedError;
|
||||
Aria2GlobalStat? get aria2globalStat => throw _privateConstructorUsedError;
|
||||
mixin _$Aria2cModelState implements DiagnosticableTreeMixin {
|
||||
String get aria2cDir;
|
||||
Aria2c? get aria2c;
|
||||
Aria2GlobalStat? get aria2globalStat;
|
||||
|
||||
/// Create a copy of Aria2cModelState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
$Aria2cModelStateCopyWith<Aria2cModelState> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $Aria2cModelStateCopyWith<$Res> {
|
||||
factory $Aria2cModelStateCopyWith(
|
||||
Aria2cModelState value, $Res Function(Aria2cModelState) then) =
|
||||
_$Aria2cModelStateCopyWithImpl<$Res, Aria2cModelState>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String aria2cDir, Aria2c? aria2c, Aria2GlobalStat? aria2globalStat});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$Aria2cModelStateCopyWithImpl<$Res, $Val extends Aria2cModelState>
|
||||
implements $Aria2cModelStateCopyWith<$Res> {
|
||||
_$Aria2cModelStateCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// 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({
|
||||
Object? aria2cDir = null,
|
||||
Object? aria2c = freezed,
|
||||
Object? aria2globalStat = freezed,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
aria2cDir: null == aria2cDir
|
||||
? _value.aria2cDir
|
||||
: aria2cDir // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
aria2c: freezed == aria2c
|
||||
? _value.aria2c
|
||||
: aria2c // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2c?,
|
||||
aria2globalStat: freezed == aria2globalStat
|
||||
? _value.aria2globalStat
|
||||
: aria2globalStat // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2GlobalStat?,
|
||||
) as $Val);
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$Aria2cModelStateImplCopyWith<$Res>
|
||||
implements $Aria2cModelStateCopyWith<$Res> {
|
||||
factory _$$Aria2cModelStateImplCopyWith(_$Aria2cModelStateImpl value,
|
||||
$Res Function(_$Aria2cModelStateImpl) then) =
|
||||
__$$Aria2cModelStateImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String aria2cDir, Aria2c? aria2c, Aria2GlobalStat? aria2globalStat});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$Aria2cModelStateImplCopyWithImpl<$Res>
|
||||
extends _$Aria2cModelStateCopyWithImpl<$Res, _$Aria2cModelStateImpl>
|
||||
implements _$$Aria2cModelStateImplCopyWith<$Res> {
|
||||
__$$Aria2cModelStateImplCopyWithImpl(_$Aria2cModelStateImpl _value,
|
||||
$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({
|
||||
Object? aria2cDir = null,
|
||||
Object? aria2c = freezed,
|
||||
Object? aria2globalStat = freezed,
|
||||
}) {
|
||||
return _then(_$Aria2cModelStateImpl(
|
||||
aria2cDir: null == aria2cDir
|
||||
? _value.aria2cDir
|
||||
: aria2cDir // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
aria2c: freezed == aria2c
|
||||
? _value.aria2c
|
||||
: aria2c // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2c?,
|
||||
aria2globalStat: freezed == aria2globalStat
|
||||
? _value.aria2globalStat
|
||||
: aria2globalStat // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2GlobalStat?,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$Aria2cModelStateImpl
|
||||
with DiagnosticableTreeMixin
|
||||
implements _Aria2cModelState {
|
||||
const _$Aria2cModelStateImpl(
|
||||
{required this.aria2cDir, this.aria2c, this.aria2globalStat});
|
||||
|
||||
@override
|
||||
final String aria2cDir;
|
||||
@override
|
||||
final Aria2c? aria2c;
|
||||
@override
|
||||
final Aria2GlobalStat? aria2globalStat;
|
||||
|
||||
@override
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'Aria2cModelState(aria2cDir: $aria2cDir, aria2c: $aria2c, aria2globalStat: $aria2globalStat)';
|
||||
}
|
||||
_$Aria2cModelStateCopyWithImpl<Aria2cModelState>(
|
||||
this as Aria2cModelState, _$identity);
|
||||
|
||||
@override
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||
super.debugFillProperties(properties);
|
||||
properties
|
||||
..add(DiagnosticsProperty('type', 'Aria2cModelState'))
|
||||
..add(DiagnosticsProperty('aria2cDir', aria2cDir))
|
||||
@ -153,7 +40,7 @@ class _$Aria2cModelStateImpl
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$Aria2cModelStateImpl &&
|
||||
other is Aria2cModelState &&
|
||||
(identical(other.aria2cDir, aria2cDir) ||
|
||||
other.aria2cDir == aria2cDir) &&
|
||||
(identical(other.aria2c, aria2c) || other.aria2c == aria2c) &&
|
||||
@ -165,33 +52,154 @@ class _$Aria2cModelStateImpl
|
||||
int get hashCode =>
|
||||
Object.hash(runtimeType, aria2cDir, aria2c, aria2globalStat);
|
||||
|
||||
@override
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'Aria2cModelState(aria2cDir: $aria2cDir, aria2c: $aria2c, aria2globalStat: $aria2globalStat)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class $Aria2cModelStateCopyWith<$Res> {
|
||||
factory $Aria2cModelStateCopyWith(
|
||||
Aria2cModelState value, $Res Function(Aria2cModelState) _then) =
|
||||
_$Aria2cModelStateCopyWithImpl;
|
||||
@useResult
|
||||
$Res call(
|
||||
{String aria2cDir, Aria2c? aria2c, Aria2GlobalStat? aria2globalStat});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$Aria2cModelStateCopyWithImpl<$Res>
|
||||
implements $Aria2cModelStateCopyWith<$Res> {
|
||||
_$Aria2cModelStateCopyWithImpl(this._self, this._then);
|
||||
|
||||
final Aria2cModelState _self;
|
||||
final $Res Function(Aria2cModelState) _then;
|
||||
|
||||
/// Create a copy of Aria2cModelState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? aria2cDir = null,
|
||||
Object? aria2c = freezed,
|
||||
Object? aria2globalStat = freezed,
|
||||
}) {
|
||||
return _then(_self.copyWith(
|
||||
aria2cDir: null == aria2cDir
|
||||
? _self.aria2cDir
|
||||
: aria2cDir // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
aria2c: freezed == aria2c
|
||||
? _self.aria2c
|
||||
: aria2c // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2c?,
|
||||
aria2globalStat: freezed == aria2globalStat
|
||||
? _self.aria2globalStat
|
||||
: aria2globalStat // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2GlobalStat?,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _Aria2cModelState
|
||||
with DiagnosticableTreeMixin
|
||||
implements Aria2cModelState {
|
||||
const _Aria2cModelState(
|
||||
{required this.aria2cDir, this.aria2c, this.aria2globalStat});
|
||||
|
||||
@override
|
||||
final String aria2cDir;
|
||||
@override
|
||||
final Aria2c? aria2c;
|
||||
@override
|
||||
final Aria2GlobalStat? aria2globalStat;
|
||||
|
||||
/// Create a copy of Aria2cModelState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
_$Aria2cModelStateCopyWith<_Aria2cModelState> get copyWith =>
|
||||
__$Aria2cModelStateCopyWithImpl<_Aria2cModelState>(this, _$identity);
|
||||
|
||||
@override
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||
properties
|
||||
..add(DiagnosticsProperty('type', 'Aria2cModelState'))
|
||||
..add(DiagnosticsProperty('aria2cDir', aria2cDir))
|
||||
..add(DiagnosticsProperty('aria2c', aria2c))
|
||||
..add(DiagnosticsProperty('aria2globalStat', aria2globalStat));
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _Aria2cModelState &&
|
||||
(identical(other.aria2cDir, aria2cDir) ||
|
||||
other.aria2cDir == aria2cDir) &&
|
||||
(identical(other.aria2c, aria2c) || other.aria2c == aria2c) &&
|
||||
(identical(other.aria2globalStat, aria2globalStat) ||
|
||||
other.aria2globalStat == aria2globalStat));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
Object.hash(runtimeType, aria2cDir, aria2c, aria2globalStat);
|
||||
|
||||
@override
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'Aria2cModelState(aria2cDir: $aria2cDir, aria2c: $aria2c, aria2globalStat: $aria2globalStat)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class _$Aria2cModelStateCopyWith<$Res>
|
||||
implements $Aria2cModelStateCopyWith<$Res> {
|
||||
factory _$Aria2cModelStateCopyWith(
|
||||
_Aria2cModelState value, $Res Function(_Aria2cModelState) _then) =
|
||||
__$Aria2cModelStateCopyWithImpl;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{String aria2cDir, Aria2c? aria2c, Aria2GlobalStat? aria2globalStat});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$Aria2cModelStateCopyWithImpl<$Res>
|
||||
implements _$Aria2cModelStateCopyWith<$Res> {
|
||||
__$Aria2cModelStateCopyWithImpl(this._self, this._then);
|
||||
|
||||
final _Aria2cModelState _self;
|
||||
final $Res Function(_Aria2cModelState) _then;
|
||||
|
||||
/// Create a copy of Aria2cModelState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$Aria2cModelStateImplCopyWith<_$Aria2cModelStateImpl> get copyWith =>
|
||||
__$$Aria2cModelStateImplCopyWithImpl<_$Aria2cModelStateImpl>(
|
||||
this, _$identity);
|
||||
$Res call({
|
||||
Object? aria2cDir = null,
|
||||
Object? aria2c = freezed,
|
||||
Object? aria2globalStat = freezed,
|
||||
}) {
|
||||
return _then(_Aria2cModelState(
|
||||
aria2cDir: null == aria2cDir
|
||||
? _self.aria2cDir
|
||||
: aria2cDir // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
aria2c: freezed == aria2c
|
||||
? _self.aria2c
|
||||
: aria2c // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2c?,
|
||||
aria2globalStat: freezed == aria2globalStat
|
||||
? _self.aria2globalStat
|
||||
: aria2globalStat // ignore: cast_nullable_to_non_nullable
|
||||
as Aria2GlobalStat?,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
abstract class _Aria2cModelState implements Aria2cModelState {
|
||||
const factory _Aria2cModelState(
|
||||
{required final String aria2cDir,
|
||||
final Aria2c? aria2c,
|
||||
final Aria2GlobalStat? aria2globalStat}) = _$Aria2cModelStateImpl;
|
||||
|
||||
@override
|
||||
String get aria2cDir;
|
||||
@override
|
||||
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(includeFromJson: false, includeToJson: false)
|
||||
_$$Aria2cModelStateImplCopyWith<_$Aria2cModelStateImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
// dart format on
|
||||
|
@ -22,7 +22,7 @@ part 'unp4kc.freezed.dart';
|
||||
part 'unp4kc.g.dart';
|
||||
|
||||
@freezed
|
||||
class Unp4kcState with _$Unp4kcState {
|
||||
abstract class Unp4kcState with _$Unp4kcState {
|
||||
const factory Unp4kcState({
|
||||
required bool startUp,
|
||||
Map<String, AppUnp4kP4kItemData>? files,
|
||||
|
@ -1,3 +1,4 @@
|
||||
// dart format width=80
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
@ -9,109 +10,78 @@ part of 'unp4kc.dart';
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// dart format off
|
||||
T _$identity<T>(T value) => value;
|
||||
|
||||
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 information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models');
|
||||
|
||||
/// @nodoc
|
||||
mixin _$Unp4kcState {
|
||||
bool get startUp => throw _privateConstructorUsedError;
|
||||
Map<String, AppUnp4kP4kItemData>? get files =>
|
||||
throw _privateConstructorUsedError;
|
||||
MemoryFileSystem? get fs => throw _privateConstructorUsedError;
|
||||
String get curPath => throw _privateConstructorUsedError;
|
||||
String? get endMessage => throw _privateConstructorUsedError;
|
||||
MapEntry<String, String>? get tempOpenFile =>
|
||||
throw _privateConstructorUsedError;
|
||||
String get errorMessage => throw _privateConstructorUsedError;
|
||||
mixin _$Unp4kcState implements DiagnosticableTreeMixin {
|
||||
bool get startUp;
|
||||
Map<String, AppUnp4kP4kItemData>? get files;
|
||||
MemoryFileSystem? get fs;
|
||||
String get curPath;
|
||||
String? get endMessage;
|
||||
MapEntry<String, String>? get tempOpenFile;
|
||||
String get errorMessage;
|
||||
|
||||
/// Create a copy of Unp4kcState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
$Unp4kcStateCopyWith<Unp4kcState> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $Unp4kcStateCopyWith<$Res> {
|
||||
factory $Unp4kcStateCopyWith(
|
||||
Unp4kcState value, $Res Function(Unp4kcState) then) =
|
||||
_$Unp4kcStateCopyWithImpl<$Res, Unp4kcState>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{bool startUp,
|
||||
Map<String, AppUnp4kP4kItemData>? files,
|
||||
MemoryFileSystem? fs,
|
||||
String curPath,
|
||||
String? endMessage,
|
||||
MapEntry<String, String>? tempOpenFile,
|
||||
String errorMessage});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$Unp4kcStateCopyWithImpl<$Res, $Val extends Unp4kcState>
|
||||
implements $Unp4kcStateCopyWith<$Res> {
|
||||
_$Unp4kcStateCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// 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')
|
||||
$Unp4kcStateCopyWith<Unp4kcState> get copyWith =>
|
||||
_$Unp4kcStateCopyWithImpl<Unp4kcState>(this as Unp4kcState, _$identity);
|
||||
|
||||
@override
|
||||
$Res call({
|
||||
Object? startUp = null,
|
||||
Object? files = freezed,
|
||||
Object? fs = freezed,
|
||||
Object? curPath = null,
|
||||
Object? endMessage = freezed,
|
||||
Object? tempOpenFile = freezed,
|
||||
Object? errorMessage = null,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
startUp: null == startUp
|
||||
? _value.startUp
|
||||
: startUp // ignore: cast_nullable_to_non_nullable
|
||||
as bool,
|
||||
files: freezed == files
|
||||
? _value.files
|
||||
: files // ignore: cast_nullable_to_non_nullable
|
||||
as Map<String, AppUnp4kP4kItemData>?,
|
||||
fs: freezed == fs
|
||||
? _value.fs
|
||||
: fs // ignore: cast_nullable_to_non_nullable
|
||||
as MemoryFileSystem?,
|
||||
curPath: null == curPath
|
||||
? _value.curPath
|
||||
: curPath // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
endMessage: freezed == endMessage
|
||||
? _value.endMessage
|
||||
: endMessage // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
tempOpenFile: freezed == tempOpenFile
|
||||
? _value.tempOpenFile
|
||||
: tempOpenFile // ignore: cast_nullable_to_non_nullable
|
||||
as MapEntry<String, String>?,
|
||||
errorMessage: null == errorMessage
|
||||
? _value.errorMessage
|
||||
: errorMessage // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
) as $Val);
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||
properties
|
||||
..add(DiagnosticsProperty('type', 'Unp4kcState'))
|
||||
..add(DiagnosticsProperty('startUp', startUp))
|
||||
..add(DiagnosticsProperty('files', files))
|
||||
..add(DiagnosticsProperty('fs', fs))
|
||||
..add(DiagnosticsProperty('curPath', curPath))
|
||||
..add(DiagnosticsProperty('endMessage', endMessage))
|
||||
..add(DiagnosticsProperty('tempOpenFile', tempOpenFile))
|
||||
..add(DiagnosticsProperty('errorMessage', errorMessage));
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is Unp4kcState &&
|
||||
(identical(other.startUp, startUp) || other.startUp == startUp) &&
|
||||
const DeepCollectionEquality().equals(other.files, files) &&
|
||||
(identical(other.fs, fs) || other.fs == fs) &&
|
||||
(identical(other.curPath, curPath) || other.curPath == curPath) &&
|
||||
(identical(other.endMessage, endMessage) ||
|
||||
other.endMessage == endMessage) &&
|
||||
(identical(other.tempOpenFile, tempOpenFile) ||
|
||||
other.tempOpenFile == tempOpenFile) &&
|
||||
(identical(other.errorMessage, errorMessage) ||
|
||||
other.errorMessage == errorMessage));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
runtimeType,
|
||||
startUp,
|
||||
const DeepCollectionEquality().hash(files),
|
||||
fs,
|
||||
curPath,
|
||||
endMessage,
|
||||
tempOpenFile,
|
||||
errorMessage);
|
||||
|
||||
@override
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'Unp4kcState(startUp: $startUp, files: $files, fs: $fs, curPath: $curPath, endMessage: $endMessage, tempOpenFile: $tempOpenFile, errorMessage: $errorMessage)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$Unp4kcStateImplCopyWith<$Res>
|
||||
implements $Unp4kcStateCopyWith<$Res> {
|
||||
factory _$$Unp4kcStateImplCopyWith(
|
||||
_$Unp4kcStateImpl value, $Res Function(_$Unp4kcStateImpl) then) =
|
||||
__$$Unp4kcStateImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
abstract mixin class $Unp4kcStateCopyWith<$Res> {
|
||||
factory $Unp4kcStateCopyWith(
|
||||
Unp4kcState value, $Res Function(Unp4kcState) _then) =
|
||||
_$Unp4kcStateCopyWithImpl;
|
||||
@useResult
|
||||
$Res call(
|
||||
{bool startUp,
|
||||
@ -124,12 +94,11 @@ abstract class _$$Unp4kcStateImplCopyWith<$Res>
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$Unp4kcStateImplCopyWithImpl<$Res>
|
||||
extends _$Unp4kcStateCopyWithImpl<$Res, _$Unp4kcStateImpl>
|
||||
implements _$$Unp4kcStateImplCopyWith<$Res> {
|
||||
__$$Unp4kcStateImplCopyWithImpl(
|
||||
_$Unp4kcStateImpl _value, $Res Function(_$Unp4kcStateImpl) _then)
|
||||
: super(_value, _then);
|
||||
class _$Unp4kcStateCopyWithImpl<$Res> implements $Unp4kcStateCopyWith<$Res> {
|
||||
_$Unp4kcStateCopyWithImpl(this._self, this._then);
|
||||
|
||||
final Unp4kcState _self;
|
||||
final $Res Function(Unp4kcState) _then;
|
||||
|
||||
/// Create a copy of Unp4kcState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@ -144,33 +113,33 @@ class __$$Unp4kcStateImplCopyWithImpl<$Res>
|
||||
Object? tempOpenFile = freezed,
|
||||
Object? errorMessage = null,
|
||||
}) {
|
||||
return _then(_$Unp4kcStateImpl(
|
||||
return _then(_self.copyWith(
|
||||
startUp: null == startUp
|
||||
? _value.startUp
|
||||
? _self.startUp
|
||||
: startUp // ignore: cast_nullable_to_non_nullable
|
||||
as bool,
|
||||
files: freezed == files
|
||||
? _value._files
|
||||
? _self.files
|
||||
: files // ignore: cast_nullable_to_non_nullable
|
||||
as Map<String, AppUnp4kP4kItemData>?,
|
||||
fs: freezed == fs
|
||||
? _value.fs
|
||||
? _self.fs
|
||||
: fs // ignore: cast_nullable_to_non_nullable
|
||||
as MemoryFileSystem?,
|
||||
curPath: null == curPath
|
||||
? _value.curPath
|
||||
? _self.curPath
|
||||
: curPath // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
endMessage: freezed == endMessage
|
||||
? _value.endMessage
|
||||
? _self.endMessage
|
||||
: endMessage // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
tempOpenFile: freezed == tempOpenFile
|
||||
? _value.tempOpenFile
|
||||
? _self.tempOpenFile
|
||||
: tempOpenFile // ignore: cast_nullable_to_non_nullable
|
||||
as MapEntry<String, String>?,
|
||||
errorMessage: null == errorMessage
|
||||
? _value.errorMessage
|
||||
? _self.errorMessage
|
||||
: errorMessage // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
));
|
||||
@ -179,8 +148,8 @@ class __$$Unp4kcStateImplCopyWithImpl<$Res>
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
|
||||
const _$Unp4kcStateImpl(
|
||||
class _Unp4kcState with DiagnosticableTreeMixin implements Unp4kcState {
|
||||
const _Unp4kcState(
|
||||
{required this.startUp,
|
||||
final Map<String, AppUnp4kP4kItemData>? files,
|
||||
this.fs,
|
||||
@ -214,14 +183,16 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
|
||||
@JsonKey()
|
||||
final String errorMessage;
|
||||
|
||||
/// Create a copy of Unp4kcState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'Unp4kcState(startUp: $startUp, files: $files, fs: $fs, curPath: $curPath, endMessage: $endMessage, tempOpenFile: $tempOpenFile, errorMessage: $errorMessage)';
|
||||
}
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@pragma('vm:prefer-inline')
|
||||
_$Unp4kcStateCopyWith<_Unp4kcState> get copyWith =>
|
||||
__$Unp4kcStateCopyWithImpl<_Unp4kcState>(this, _$identity);
|
||||
|
||||
@override
|
||||
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||
super.debugFillProperties(properties);
|
||||
properties
|
||||
..add(DiagnosticsProperty('type', 'Unp4kcState'))
|
||||
..add(DiagnosticsProperty('startUp', startUp))
|
||||
@ -237,7 +208,7 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$Unp4kcStateImpl &&
|
||||
other is _Unp4kcState &&
|
||||
(identical(other.startUp, startUp) || other.startUp == startUp) &&
|
||||
const DeepCollectionEquality().equals(other._files, _files) &&
|
||||
(identical(other.fs, fs) || other.fs == fs) &&
|
||||
@ -261,44 +232,81 @@ class _$Unp4kcStateImpl with DiagnosticableTreeMixin implements _Unp4kcState {
|
||||
tempOpenFile,
|
||||
errorMessage);
|
||||
|
||||
@override
|
||||
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
||||
return 'Unp4kcState(startUp: $startUp, files: $files, fs: $fs, curPath: $curPath, endMessage: $endMessage, tempOpenFile: $tempOpenFile, errorMessage: $errorMessage)';
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract mixin class _$Unp4kcStateCopyWith<$Res>
|
||||
implements $Unp4kcStateCopyWith<$Res> {
|
||||
factory _$Unp4kcStateCopyWith(
|
||||
_Unp4kcState value, $Res Function(_Unp4kcState) _then) =
|
||||
__$Unp4kcStateCopyWithImpl;
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{bool startUp,
|
||||
Map<String, AppUnp4kP4kItemData>? files,
|
||||
MemoryFileSystem? fs,
|
||||
String curPath,
|
||||
String? endMessage,
|
||||
MapEntry<String, String>? tempOpenFile,
|
||||
String errorMessage});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$Unp4kcStateCopyWithImpl<$Res> implements _$Unp4kcStateCopyWith<$Res> {
|
||||
__$Unp4kcStateCopyWithImpl(this._self, this._then);
|
||||
|
||||
final _Unp4kcState _self;
|
||||
final $Res Function(_Unp4kcState) _then;
|
||||
|
||||
/// 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 =>
|
||||
__$$Unp4kcStateImplCopyWithImpl<_$Unp4kcStateImpl>(this, _$identity);
|
||||
$Res call({
|
||||
Object? startUp = null,
|
||||
Object? files = freezed,
|
||||
Object? fs = freezed,
|
||||
Object? curPath = null,
|
||||
Object? endMessage = freezed,
|
||||
Object? tempOpenFile = freezed,
|
||||
Object? errorMessage = null,
|
||||
}) {
|
||||
return _then(_Unp4kcState(
|
||||
startUp: null == startUp
|
||||
? _self.startUp
|
||||
: startUp // ignore: cast_nullable_to_non_nullable
|
||||
as bool,
|
||||
files: freezed == files
|
||||
? _self._files
|
||||
: files // ignore: cast_nullable_to_non_nullable
|
||||
as Map<String, AppUnp4kP4kItemData>?,
|
||||
fs: freezed == fs
|
||||
? _self.fs
|
||||
: fs // ignore: cast_nullable_to_non_nullable
|
||||
as MemoryFileSystem?,
|
||||
curPath: null == curPath
|
||||
? _self.curPath
|
||||
: curPath // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
endMessage: freezed == endMessage
|
||||
? _self.endMessage
|
||||
: endMessage // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
tempOpenFile: freezed == tempOpenFile
|
||||
? _self.tempOpenFile
|
||||
: tempOpenFile // ignore: cast_nullable_to_non_nullable
|
||||
as MapEntry<String, String>?,
|
||||
errorMessage: null == errorMessage
|
||||
? _self.errorMessage
|
||||
: errorMessage // ignore: cast_nullable_to_non_nullable
|
||||
as String,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
abstract class _Unp4kcState implements Unp4kcState {
|
||||
const factory _Unp4kcState(
|
||||
{required final bool startUp,
|
||||
final Map<String, AppUnp4kP4kItemData>? files,
|
||||
final MemoryFileSystem? fs,
|
||||
required final String curPath,
|
||||
final String? endMessage,
|
||||
final MapEntry<String, String>? tempOpenFile,
|
||||
final String errorMessage}) = _$Unp4kcStateImpl;
|
||||
|
||||
@override
|
||||
bool get startUp;
|
||||
@override
|
||||
Map<String, AppUnp4kP4kItemData>? get files;
|
||||
@override
|
||||
MemoryFileSystem? get fs;
|
||||
@override
|
||||
String get curPath;
|
||||
@override
|
||||
String? get endMessage;
|
||||
@override
|
||||
MapEntry<String, String>? get tempOpenFile;
|
||||
@override
|
||||
String get errorMessage;
|
||||
|
||||
/// Create a copy of Unp4kcState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
_$$Unp4kcStateImplCopyWith<_$Unp4kcStateImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
// dart format on
|
||||
|
Reference in New Issue
Block a user