// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'selected_brand_provider.dart';

// **************************************************************************
// RiverpodGenerator
// **************************************************************************

// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
/// Selected Brand Provider
///
/// Stores the currently selected brand ID for filtering products.
/// Default: 'all' (no brand filter)
///
/// Usage:
/// ```dart
/// // Watch selected brand
/// final selectedBrand = ref.watch(selectedBrandProvider);
///
/// // Update selected brand
/// ref.read(selectedBrandProvider.notifier).updateBrand('VASTA');
/// ```

@ProviderFor(SelectedBrand)
const selectedBrandProvider = SelectedBrandProvider._();

/// Selected Brand Provider
///
/// Stores the currently selected brand ID for filtering products.
/// Default: 'all' (no brand filter)
///
/// Usage:
/// ```dart
/// // Watch selected brand
/// final selectedBrand = ref.watch(selectedBrandProvider);
///
/// // Update selected brand
/// ref.read(selectedBrandProvider.notifier).updateBrand('VASTA');
/// ```
final class SelectedBrandProvider
    extends $NotifierProvider<SelectedBrand, String> {
  /// Selected Brand Provider
  ///
  /// Stores the currently selected brand ID for filtering products.
  /// Default: 'all' (no brand filter)
  ///
  /// Usage:
  /// ```dart
  /// // Watch selected brand
  /// final selectedBrand = ref.watch(selectedBrandProvider);
  ///
  /// // Update selected brand
  /// ref.read(selectedBrandProvider.notifier).updateBrand('VASTA');
  /// ```
  const SelectedBrandProvider._()
    : super(
        from: null,
        argument: null,
        retry: null,
        name: r'selectedBrandProvider',
        isAutoDispose: true,
        dependencies: null,
        $allTransitiveDependencies: null,
      );

  @override
  String debugGetCreateSourceHash() => _$selectedBrandHash();

  @$internal
  @override
  SelectedBrand create() => SelectedBrand();

  /// {@macro riverpod.override_with_value}
  Override overrideWithValue(String value) {
    return $ProviderOverride(
      origin: this,
      providerOverride: $SyncValueProvider<String>(value),
    );
  }
}

String _$selectedBrandHash() => r'1295bffdcea67b78f7d55ce42f476603e042b19b';

/// Selected Brand Provider
///
/// Stores the currently selected brand ID for filtering products.
/// Default: 'all' (no brand filter)
///
/// Usage:
/// ```dart
/// // Watch selected brand
/// final selectedBrand = ref.watch(selectedBrandProvider);
///
/// // Update selected brand
/// ref.read(selectedBrandProvider.notifier).updateBrand('VASTA');
/// ```

abstract class _$SelectedBrand extends $Notifier<String> {
  String build();
  @$mustCallSuper
  @override
  void runBuild() {
    final created = build();
    final ref = this.ref as $Ref<String, String>;
    final element =
        ref.element
            as $ClassProviderElement<
              AnyNotifier<String, String>,
              String,
              Object?,
              Object?
            >;
    element.handleValue(ref, created);
  }
}
