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