forked from eatvio/eatvio_app
fix: remove ignored files
This commit is contained in:
@@ -1,193 +0,0 @@
|
||||
// coverage:ignore-file
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// ignore_for_file: type=lint
|
||||
// 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, unnecessary_question_mark
|
||||
|
||||
part of 'user_cards_state.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
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 _$UserCardsState {
|
||||
List<CardModel> get cards => throw _privateConstructorUsedError;
|
||||
String? get error => throw _privateConstructorUsedError;
|
||||
BaseState get state => throw _privateConstructorUsedError;
|
||||
|
||||
/// Create a copy of UserCardsState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
$UserCardsStateCopyWith<UserCardsState> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class $UserCardsStateCopyWith<$Res> {
|
||||
factory $UserCardsStateCopyWith(
|
||||
UserCardsState value, $Res Function(UserCardsState) then) =
|
||||
_$UserCardsStateCopyWithImpl<$Res, UserCardsState>;
|
||||
@useResult
|
||||
$Res call({List<CardModel> cards, String? error, BaseState state});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class _$UserCardsStateCopyWithImpl<$Res, $Val extends UserCardsState>
|
||||
implements $UserCardsStateCopyWith<$Res> {
|
||||
_$UserCardsStateCopyWithImpl(this._value, this._then);
|
||||
|
||||
// ignore: unused_field
|
||||
final $Val _value;
|
||||
// ignore: unused_field
|
||||
final $Res Function($Val) _then;
|
||||
|
||||
/// Create a copy of UserCardsState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? cards = null,
|
||||
Object? error = freezed,
|
||||
Object? state = null,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
cards: null == cards
|
||||
? _value.cards
|
||||
: cards // ignore: cast_nullable_to_non_nullable
|
||||
as List<CardModel>,
|
||||
error: freezed == error
|
||||
? _value.error
|
||||
: error // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
state: null == state
|
||||
? _value.state
|
||||
: state // ignore: cast_nullable_to_non_nullable
|
||||
as BaseState,
|
||||
) as $Val);
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
abstract class _$$UserCardsStateImplCopyWith<$Res>
|
||||
implements $UserCardsStateCopyWith<$Res> {
|
||||
factory _$$UserCardsStateImplCopyWith(_$UserCardsStateImpl value,
|
||||
$Res Function(_$UserCardsStateImpl) then) =
|
||||
__$$UserCardsStateImplCopyWithImpl<$Res>;
|
||||
@override
|
||||
@useResult
|
||||
$Res call({List<CardModel> cards, String? error, BaseState state});
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
class __$$UserCardsStateImplCopyWithImpl<$Res>
|
||||
extends _$UserCardsStateCopyWithImpl<$Res, _$UserCardsStateImpl>
|
||||
implements _$$UserCardsStateImplCopyWith<$Res> {
|
||||
__$$UserCardsStateImplCopyWithImpl(
|
||||
_$UserCardsStateImpl _value, $Res Function(_$UserCardsStateImpl) _then)
|
||||
: super(_value, _then);
|
||||
|
||||
/// Create a copy of UserCardsState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? cards = null,
|
||||
Object? error = freezed,
|
||||
Object? state = null,
|
||||
}) {
|
||||
return _then(_$UserCardsStateImpl(
|
||||
cards: null == cards
|
||||
? _value._cards
|
||||
: cards // ignore: cast_nullable_to_non_nullable
|
||||
as List<CardModel>,
|
||||
error: freezed == error
|
||||
? _value.error
|
||||
: error // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
state: null == state
|
||||
? _value.state
|
||||
: state // ignore: cast_nullable_to_non_nullable
|
||||
as BaseState,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/// @nodoc
|
||||
|
||||
class _$UserCardsStateImpl implements _UserCardsState {
|
||||
_$UserCardsStateImpl(
|
||||
{final List<CardModel> cards = const [],
|
||||
this.error = null,
|
||||
this.state = BaseState.initial})
|
||||
: _cards = cards;
|
||||
|
||||
final List<CardModel> _cards;
|
||||
@override
|
||||
@JsonKey()
|
||||
List<CardModel> get cards {
|
||||
if (_cards is EqualUnmodifiableListView) return _cards;
|
||||
// ignore: implicit_dynamic_type
|
||||
return EqualUnmodifiableListView(_cards);
|
||||
}
|
||||
|
||||
@override
|
||||
@JsonKey()
|
||||
final String? error;
|
||||
@override
|
||||
@JsonKey()
|
||||
final BaseState state;
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'UserCardsState(cards: $cards, error: $error, state: $state)';
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$UserCardsStateImpl &&
|
||||
const DeepCollectionEquality().equals(other._cards, _cards) &&
|
||||
(identical(other.error, error) || other.error == error) &&
|
||||
(identical(other.state, state) || other.state == state));
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
runtimeType, const DeepCollectionEquality().hash(_cards), error, state);
|
||||
|
||||
/// Create a copy of UserCardsState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
@pragma('vm:prefer-inline')
|
||||
_$$UserCardsStateImplCopyWith<_$UserCardsStateImpl> get copyWith =>
|
||||
__$$UserCardsStateImplCopyWithImpl<_$UserCardsStateImpl>(
|
||||
this, _$identity);
|
||||
}
|
||||
|
||||
abstract class _UserCardsState implements UserCardsState {
|
||||
factory _UserCardsState(
|
||||
{final List<CardModel> cards,
|
||||
final String? error,
|
||||
final BaseState state}) = _$UserCardsStateImpl;
|
||||
|
||||
@override
|
||||
List<CardModel> get cards;
|
||||
@override
|
||||
String? get error;
|
||||
@override
|
||||
BaseState get state;
|
||||
|
||||
/// Create a copy of UserCardsState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@override
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
_$$UserCardsStateImplCopyWith<_$UserCardsStateImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
}
|
||||
Reference in New Issue
Block a user