mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 18:24:45 +08:00
bump: Flutter 3.32.1 Rust 1.87.0
fix: rsi launcher patch 2.4.0
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user