// dart format width=80 // 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 'poetry_list.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** // dart format off T _$identity(T value) => value; /// @nodoc mixin _$PoetryListState implements DiagnosticableTreeMixin { PageList get poetryData; /// Create a copy of PoetryListState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $PoetryListStateCopyWith get copyWith => _$PoetryListStateCopyWithImpl(this as PoetryListState, _$identity); @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties ..add(DiagnosticsProperty('type', 'PoetryListState')) ..add(DiagnosticsProperty('poetryData', poetryData)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is PoetryListState&&(identical(other.poetryData, poetryData) || other.poetryData == poetryData)); } @override int get hashCode => Object.hash(runtimeType,poetryData); @override String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { return 'PoetryListState(poetryData: $poetryData)'; } } /// @nodoc abstract mixin class $PoetryListStateCopyWith<$Res> { factory $PoetryListStateCopyWith(PoetryListState value, $Res Function(PoetryListState) _then) = _$PoetryListStateCopyWithImpl; @useResult $Res call({ PageList poetryData }); $PageListCopyWith get poetryData; } /// @nodoc class _$PoetryListStateCopyWithImpl<$Res> implements $PoetryListStateCopyWith<$Res> { _$PoetryListStateCopyWithImpl(this._self, this._then); final PoetryListState _self; final $Res Function(PoetryListState) _then; /// Create a copy of PoetryListState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({Object? poetryData = null,}) { return _then(_self.copyWith( poetryData: null == poetryData ? _self.poetryData : poetryData // ignore: cast_nullable_to_non_nullable as PageList, )); } /// Create a copy of PoetryListState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $PageListCopyWith get poetryData { return $PageListCopyWith(_self.poetryData, (value) { return _then(_self.copyWith(poetryData: value)); }); } } /// @nodoc class _PoetryListState with DiagnosticableTreeMixin implements PoetryListState { const _PoetryListState({this.poetryData = emptyPoetryList}); @override@JsonKey() final PageList poetryData; /// Create a copy of PoetryListState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$PoetryListStateCopyWith<_PoetryListState> get copyWith => __$PoetryListStateCopyWithImpl<_PoetryListState>(this, _$identity); @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties ..add(DiagnosticsProperty('type', 'PoetryListState')) ..add(DiagnosticsProperty('poetryData', poetryData)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType&&other is _PoetryListState&&(identical(other.poetryData, poetryData) || other.poetryData == poetryData)); } @override int get hashCode => Object.hash(runtimeType,poetryData); @override String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) { return 'PoetryListState(poetryData: $poetryData)'; } } /// @nodoc abstract mixin class _$PoetryListStateCopyWith<$Res> implements $PoetryListStateCopyWith<$Res> { factory _$PoetryListStateCopyWith(_PoetryListState value, $Res Function(_PoetryListState) _then) = __$PoetryListStateCopyWithImpl; @override @useResult $Res call({ PageList poetryData }); @override $PageListCopyWith get poetryData; } /// @nodoc class __$PoetryListStateCopyWithImpl<$Res> implements _$PoetryListStateCopyWith<$Res> { __$PoetryListStateCopyWithImpl(this._self, this._then); final _PoetryListState _self; final $Res Function(_PoetryListState) _then; /// Create a copy of PoetryListState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({Object? poetryData = null,}) { return _then(_PoetryListState( poetryData: null == poetryData ? _self.poetryData : poetryData // ignore: cast_nullable_to_non_nullable as PageList, )); } /// Create a copy of PoetryListState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $PageListCopyWith get poetryData { return $PageListCopyWith(_self.poetryData, (value) { return _then(_self.copyWith(poetryData: value)); }); } } // dart format on