// 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 'router_cubit.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** // dart format off T _$identity(T value) => value; /// @nodoc mixin _$RouterState implements DiagnosticableTreeMixin { bool get hasAnyAccount; /// Create a copy of RouterState /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') $RouterStateCopyWith get copyWith => _$RouterStateCopyWithImpl(this as RouterState, _$identity); /// Serializes this RouterState to a JSON map. Map toJson(); @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties ..add(DiagnosticsProperty('type', 'RouterState')) ..add(DiagnosticsProperty('hasAnyAccount', hasAnyAccount)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is RouterState && (identical(other.hasAnyAccount, hasAnyAccount) || other.hasAnyAccount == hasAnyAccount)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, hasAnyAccount); @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { return 'RouterState(hasAnyAccount: $hasAnyAccount)'; } } /// @nodoc abstract mixin class $RouterStateCopyWith<$Res> { factory $RouterStateCopyWith( RouterState value, $Res Function(RouterState) _then) = _$RouterStateCopyWithImpl; @useResult $Res call({bool hasAnyAccount}); } /// @nodoc class _$RouterStateCopyWithImpl<$Res> implements $RouterStateCopyWith<$Res> { _$RouterStateCopyWithImpl(this._self, this._then); final RouterState _self; final $Res Function(RouterState) _then; /// Create a copy of RouterState /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? hasAnyAccount = null, }) { return _then(_self.copyWith( hasAnyAccount: null == hasAnyAccount ? _self.hasAnyAccount : hasAnyAccount // ignore: cast_nullable_to_non_nullable as bool, )); } } /// @nodoc @JsonSerializable() class _RouterState with DiagnosticableTreeMixin implements RouterState { const _RouterState({required this.hasAnyAccount}); factory _RouterState.fromJson(Map json) => _$RouterStateFromJson(json); @override final bool hasAnyAccount; /// Create a copy of RouterState /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) @pragma('vm:prefer-inline') _$RouterStateCopyWith<_RouterState> get copyWith => __$RouterStateCopyWithImpl<_RouterState>(this, _$identity); @override Map toJson() { return _$RouterStateToJson( this, ); } @override void debugFillProperties(DiagnosticPropertiesBuilder properties) { properties ..add(DiagnosticsProperty('type', 'RouterState')) ..add(DiagnosticsProperty('hasAnyAccount', hasAnyAccount)); } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _RouterState && (identical(other.hasAnyAccount, hasAnyAccount) || other.hasAnyAccount == hasAnyAccount)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, hasAnyAccount); @override String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) { return 'RouterState(hasAnyAccount: $hasAnyAccount)'; } } /// @nodoc abstract mixin class _$RouterStateCopyWith<$Res> implements $RouterStateCopyWith<$Res> { factory _$RouterStateCopyWith( _RouterState value, $Res Function(_RouterState) _then) = __$RouterStateCopyWithImpl; @override @useResult $Res call({bool hasAnyAccount}); } /// @nodoc class __$RouterStateCopyWithImpl<$Res> implements _$RouterStateCopyWith<$Res> { __$RouterStateCopyWithImpl(this._self, this._then); final _RouterState _self; final $Res Function(_RouterState) _then; /// Create a copy of RouterState /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $Res call({ Object? hasAnyAccount = null, }) { return _then(_RouterState( hasAnyAccount: null == hasAnyAccount ? _self.hasAnyAccount : hasAnyAccount // ignore: cast_nullable_to_non_nullable as bool, )); } } // dart format on