// 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 'selected_outlet_bloc.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 _$SelectedOutletEvent {
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() loaded,
    required TResult Function(Outlet outlet) selected,
    required TResult Function() cleared,
  }) => throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? loaded,
    TResult? Function(Outlet outlet)? selected,
    TResult? Function()? cleared,
  }) => throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? loaded,
    TResult Function(Outlet outlet)? selected,
    TResult Function()? cleared,
    required TResult orElse(),
  }) => throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(_Loaded value) loaded,
    required TResult Function(_Selected value) selected,
    required TResult Function(_Cleared value) cleared,
  }) => throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(_Loaded value)? loaded,
    TResult? Function(_Selected value)? selected,
    TResult? Function(_Cleared value)? cleared,
  }) => throw _privateConstructorUsedError;
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(_Loaded value)? loaded,
    TResult Function(_Selected value)? selected,
    TResult Function(_Cleared value)? cleared,
    required TResult orElse(),
  }) => throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $SelectedOutletEventCopyWith<$Res> {
  factory $SelectedOutletEventCopyWith(
    SelectedOutletEvent value,
    $Res Function(SelectedOutletEvent) then,
  ) = _$SelectedOutletEventCopyWithImpl<$Res, SelectedOutletEvent>;
}

/// @nodoc
class _$SelectedOutletEventCopyWithImpl<$Res, $Val extends SelectedOutletEvent>
    implements $SelectedOutletEventCopyWith<$Res> {
  _$SelectedOutletEventCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
}

/// @nodoc
abstract class _$$LoadedImplCopyWith<$Res> {
  factory _$$LoadedImplCopyWith(
    _$LoadedImpl value,
    $Res Function(_$LoadedImpl) then,
  ) = __$$LoadedImplCopyWithImpl<$Res>;
}

/// @nodoc
class __$$LoadedImplCopyWithImpl<$Res>
    extends _$SelectedOutletEventCopyWithImpl<$Res, _$LoadedImpl>
    implements _$$LoadedImplCopyWith<$Res> {
  __$$LoadedImplCopyWithImpl(
    _$LoadedImpl _value,
    $Res Function(_$LoadedImpl) _then,
  ) : super(_value, _then);

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
}

/// @nodoc

class _$LoadedImpl implements _Loaded {
  const _$LoadedImpl();

  @override
  String toString() {
    return 'SelectedOutletEvent.loaded()';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType && other is _$LoadedImpl);
  }

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() loaded,
    required TResult Function(Outlet outlet) selected,
    required TResult Function() cleared,
  }) {
    return loaded();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? loaded,
    TResult? Function(Outlet outlet)? selected,
    TResult? Function()? cleared,
  }) {
    return loaded?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? loaded,
    TResult Function(Outlet outlet)? selected,
    TResult Function()? cleared,
    required TResult orElse(),
  }) {
    if (loaded != null) {
      return loaded();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(_Loaded value) loaded,
    required TResult Function(_Selected value) selected,
    required TResult Function(_Cleared value) cleared,
  }) {
    return loaded(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(_Loaded value)? loaded,
    TResult? Function(_Selected value)? selected,
    TResult? Function(_Cleared value)? cleared,
  }) {
    return loaded?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(_Loaded value)? loaded,
    TResult Function(_Selected value)? selected,
    TResult Function(_Cleared value)? cleared,
    required TResult orElse(),
  }) {
    if (loaded != null) {
      return loaded(this);
    }
    return orElse();
  }
}

abstract class _Loaded implements SelectedOutletEvent {
  const factory _Loaded() = _$LoadedImpl;
}

/// @nodoc
abstract class _$$SelectedImplCopyWith<$Res> {
  factory _$$SelectedImplCopyWith(
    _$SelectedImpl value,
    $Res Function(_$SelectedImpl) then,
  ) = __$$SelectedImplCopyWithImpl<$Res>;
  @useResult
  $Res call({Outlet outlet});

  $OutletCopyWith<$Res> get outlet;
}

/// @nodoc
class __$$SelectedImplCopyWithImpl<$Res>
    extends _$SelectedOutletEventCopyWithImpl<$Res, _$SelectedImpl>
    implements _$$SelectedImplCopyWith<$Res> {
  __$$SelectedImplCopyWithImpl(
    _$SelectedImpl _value,
    $Res Function(_$SelectedImpl) _then,
  ) : super(_value, _then);

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({Object? outlet = null}) {
    return _then(
      _$SelectedImpl(
        null == outlet
            ? _value.outlet
            : outlet // ignore: cast_nullable_to_non_nullable
                  as Outlet,
      ),
    );
  }

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
  @override
  @pragma('vm:prefer-inline')
  $OutletCopyWith<$Res> get outlet {
    return $OutletCopyWith<$Res>(_value.outlet, (value) {
      return _then(_value.copyWith(outlet: value));
    });
  }
}

/// @nodoc

class _$SelectedImpl implements _Selected {
  const _$SelectedImpl(this.outlet);

  @override
  final Outlet outlet;

  @override
  String toString() {
    return 'SelectedOutletEvent.selected(outlet: $outlet)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$SelectedImpl &&
            (identical(other.outlet, outlet) || other.outlet == outlet));
  }

  @override
  int get hashCode => Object.hash(runtimeType, outlet);

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$SelectedImplCopyWith<_$SelectedImpl> get copyWith =>
      __$$SelectedImplCopyWithImpl<_$SelectedImpl>(this, _$identity);

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() loaded,
    required TResult Function(Outlet outlet) selected,
    required TResult Function() cleared,
  }) {
    return selected(outlet);
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? loaded,
    TResult? Function(Outlet outlet)? selected,
    TResult? Function()? cleared,
  }) {
    return selected?.call(outlet);
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? loaded,
    TResult Function(Outlet outlet)? selected,
    TResult Function()? cleared,
    required TResult orElse(),
  }) {
    if (selected != null) {
      return selected(outlet);
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(_Loaded value) loaded,
    required TResult Function(_Selected value) selected,
    required TResult Function(_Cleared value) cleared,
  }) {
    return selected(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(_Loaded value)? loaded,
    TResult? Function(_Selected value)? selected,
    TResult? Function(_Cleared value)? cleared,
  }) {
    return selected?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(_Loaded value)? loaded,
    TResult Function(_Selected value)? selected,
    TResult Function(_Cleared value)? cleared,
    required TResult orElse(),
  }) {
    if (selected != null) {
      return selected(this);
    }
    return orElse();
  }
}

abstract class _Selected implements SelectedOutletEvent {
  const factory _Selected(final Outlet outlet) = _$SelectedImpl;

  Outlet get outlet;

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$SelectedImplCopyWith<_$SelectedImpl> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class _$$ClearedImplCopyWith<$Res> {
  factory _$$ClearedImplCopyWith(
    _$ClearedImpl value,
    $Res Function(_$ClearedImpl) then,
  ) = __$$ClearedImplCopyWithImpl<$Res>;
}

/// @nodoc
class __$$ClearedImplCopyWithImpl<$Res>
    extends _$SelectedOutletEventCopyWithImpl<$Res, _$ClearedImpl>
    implements _$$ClearedImplCopyWith<$Res> {
  __$$ClearedImplCopyWithImpl(
    _$ClearedImpl _value,
    $Res Function(_$ClearedImpl) _then,
  ) : super(_value, _then);

  /// Create a copy of SelectedOutletEvent
  /// with the given fields replaced by the non-null parameter values.
}

/// @nodoc

class _$ClearedImpl implements _Cleared {
  const _$ClearedImpl();

  @override
  String toString() {
    return 'SelectedOutletEvent.cleared()';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType && other is _$ClearedImpl);
  }

  @override
  int get hashCode => runtimeType.hashCode;

  @override
  @optionalTypeArgs
  TResult when<TResult extends Object?>({
    required TResult Function() loaded,
    required TResult Function(Outlet outlet) selected,
    required TResult Function() cleared,
  }) {
    return cleared();
  }

  @override
  @optionalTypeArgs
  TResult? whenOrNull<TResult extends Object?>({
    TResult? Function()? loaded,
    TResult? Function(Outlet outlet)? selected,
    TResult? Function()? cleared,
  }) {
    return cleared?.call();
  }

  @override
  @optionalTypeArgs
  TResult maybeWhen<TResult extends Object?>({
    TResult Function()? loaded,
    TResult Function(Outlet outlet)? selected,
    TResult Function()? cleared,
    required TResult orElse(),
  }) {
    if (cleared != null) {
      return cleared();
    }
    return orElse();
  }

  @override
  @optionalTypeArgs
  TResult map<TResult extends Object?>({
    required TResult Function(_Loaded value) loaded,
    required TResult Function(_Selected value) selected,
    required TResult Function(_Cleared value) cleared,
  }) {
    return cleared(this);
  }

  @override
  @optionalTypeArgs
  TResult? mapOrNull<TResult extends Object?>({
    TResult? Function(_Loaded value)? loaded,
    TResult? Function(_Selected value)? selected,
    TResult? Function(_Cleared value)? cleared,
  }) {
    return cleared?.call(this);
  }

  @override
  @optionalTypeArgs
  TResult maybeMap<TResult extends Object?>({
    TResult Function(_Loaded value)? loaded,
    TResult Function(_Selected value)? selected,
    TResult Function(_Cleared value)? cleared,
    required TResult orElse(),
  }) {
    if (cleared != null) {
      return cleared(this);
    }
    return orElse();
  }
}

abstract class _Cleared implements SelectedOutletEvent {
  const factory _Cleared() = _$ClearedImpl;
}

/// @nodoc
mixin _$SelectedOutletState {
  /// null berarti "Semua Outlet"
  Outlet? get selectedOutlet => throw _privateConstructorUsedError;
  String? get selectedOutletId => throw _privateConstructorUsedError;

  /// Create a copy of SelectedOutletState
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  $SelectedOutletStateCopyWith<SelectedOutletState> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $SelectedOutletStateCopyWith<$Res> {
  factory $SelectedOutletStateCopyWith(
    SelectedOutletState value,
    $Res Function(SelectedOutletState) then,
  ) = _$SelectedOutletStateCopyWithImpl<$Res, SelectedOutletState>;
  @useResult
  $Res call({Outlet? selectedOutlet, String? selectedOutletId});

  $OutletCopyWith<$Res>? get selectedOutlet;
}

/// @nodoc
class _$SelectedOutletStateCopyWithImpl<$Res, $Val extends SelectedOutletState>
    implements $SelectedOutletStateCopyWith<$Res> {
  _$SelectedOutletStateCopyWithImpl(this._value, this._then);

  // ignore: unused_field
  final $Val _value;
  // ignore: unused_field
  final $Res Function($Val) _then;

  /// Create a copy of SelectedOutletState
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? selectedOutlet = freezed,
    Object? selectedOutletId = freezed,
  }) {
    return _then(
      _value.copyWith(
            selectedOutlet: freezed == selectedOutlet
                ? _value.selectedOutlet
                : selectedOutlet // ignore: cast_nullable_to_non_nullable
                      as Outlet?,
            selectedOutletId: freezed == selectedOutletId
                ? _value.selectedOutletId
                : selectedOutletId // ignore: cast_nullable_to_non_nullable
                      as String?,
          )
          as $Val,
    );
  }

  /// Create a copy of SelectedOutletState
  /// with the given fields replaced by the non-null parameter values.
  @override
  @pragma('vm:prefer-inline')
  $OutletCopyWith<$Res>? get selectedOutlet {
    if (_value.selectedOutlet == null) {
      return null;
    }

    return $OutletCopyWith<$Res>(_value.selectedOutlet!, (value) {
      return _then(_value.copyWith(selectedOutlet: value) as $Val);
    });
  }
}

/// @nodoc
abstract class _$$SelectedOutletStateImplCopyWith<$Res>
    implements $SelectedOutletStateCopyWith<$Res> {
  factory _$$SelectedOutletStateImplCopyWith(
    _$SelectedOutletStateImpl value,
    $Res Function(_$SelectedOutletStateImpl) then,
  ) = __$$SelectedOutletStateImplCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call({Outlet? selectedOutlet, String? selectedOutletId});

  @override
  $OutletCopyWith<$Res>? get selectedOutlet;
}

/// @nodoc
class __$$SelectedOutletStateImplCopyWithImpl<$Res>
    extends _$SelectedOutletStateCopyWithImpl<$Res, _$SelectedOutletStateImpl>
    implements _$$SelectedOutletStateImplCopyWith<$Res> {
  __$$SelectedOutletStateImplCopyWithImpl(
    _$SelectedOutletStateImpl _value,
    $Res Function(_$SelectedOutletStateImpl) _then,
  ) : super(_value, _then);

  /// Create a copy of SelectedOutletState
  /// with the given fields replaced by the non-null parameter values.
  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? selectedOutlet = freezed,
    Object? selectedOutletId = freezed,
  }) {
    return _then(
      _$SelectedOutletStateImpl(
        selectedOutlet: freezed == selectedOutlet
            ? _value.selectedOutlet
            : selectedOutlet // ignore: cast_nullable_to_non_nullable
                  as Outlet?,
        selectedOutletId: freezed == selectedOutletId
            ? _value.selectedOutletId
            : selectedOutletId // ignore: cast_nullable_to_non_nullable
                  as String?,
      ),
    );
  }
}

/// @nodoc

class _$SelectedOutletStateImpl implements _SelectedOutletState {
  const _$SelectedOutletStateImpl({this.selectedOutlet, this.selectedOutletId});

  /// null berarti "Semua Outlet"
  @override
  final Outlet? selectedOutlet;
  @override
  final String? selectedOutletId;

  @override
  String toString() {
    return 'SelectedOutletState(selectedOutlet: $selectedOutlet, selectedOutletId: $selectedOutletId)';
  }

  @override
  bool operator ==(Object other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$SelectedOutletStateImpl &&
            (identical(other.selectedOutlet, selectedOutlet) ||
                other.selectedOutlet == selectedOutlet) &&
            (identical(other.selectedOutletId, selectedOutletId) ||
                other.selectedOutletId == selectedOutletId));
  }

  @override
  int get hashCode =>
      Object.hash(runtimeType, selectedOutlet, selectedOutletId);

  /// Create a copy of SelectedOutletState
  /// with the given fields replaced by the non-null parameter values.
  @JsonKey(includeFromJson: false, includeToJson: false)
  @override
  @pragma('vm:prefer-inline')
  _$$SelectedOutletStateImplCopyWith<_$SelectedOutletStateImpl> get copyWith =>
      __$$SelectedOutletStateImplCopyWithImpl<_$SelectedOutletStateImpl>(
        this,
        _$identity,
      );
}

abstract class _SelectedOutletState implements SelectedOutletState {
  const factory _SelectedOutletState({
    final Outlet? selectedOutlet,
    final String? selectedOutletId,
  }) = _$SelectedOutletStateImpl;

  /// null berarti "Semua Outlet"
  @override
  Outlet? get selectedOutlet;
  @override
  String? get selectedOutletId;

  /// Create a copy of SelectedOutletState
  /// with the given fields replaced by the non-null parameter values.
  @override
  @JsonKey(includeFromJson: false, includeToJson: false)
  _$$SelectedOutletStateImplCopyWith<_$SelectedOutletStateImpl> get copyWith =>
      throw _privateConstructorUsedError;
}
