// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'projects.dart';

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

String _$devProjectsHash() => r'87fdcab47cd7d79ab019a5625617abeb1ffa1f39';

/// Copied from Dart SDK
class _SystemHash {
  _SystemHash._();

  static int combine(int hash, int value) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + value);
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
    return hash ^ (hash >> 6);
  }

  static int finish(int hash) {
    // ignore: parameter_assignments
    hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
    // ignore: parameter_assignments
    hash = hash ^ (hash >> 11);
    return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
  }
}

/// See also [devProjects].
@ProviderFor(devProjects)
const devProjectsProvider = DevProjectsFamily();

/// See also [devProjects].
class DevProjectsFamily extends Family<AsyncValue<List<DevProject>>> {
  /// See also [devProjects].
  const DevProjectsFamily();

  /// See also [devProjects].
  DevProjectsProvider call(String pubName) {
    return DevProjectsProvider(pubName);
  }

  @override
  DevProjectsProvider getProviderOverride(
    covariant DevProjectsProvider provider,
  ) {
    return call(provider.pubName);
  }

  static const Iterable<ProviderOrFamily>? _dependencies = null;

  @override
  Iterable<ProviderOrFamily>? get dependencies => _dependencies;

  static const Iterable<ProviderOrFamily>? _allTransitiveDependencies = null;

  @override
  Iterable<ProviderOrFamily>? get allTransitiveDependencies =>
      _allTransitiveDependencies;

  @override
  String? get name => r'devProjectsProvider';
}

/// See also [devProjects].
class DevProjectsProvider extends AutoDisposeFutureProvider<List<DevProject>> {
  /// See also [devProjects].
  DevProjectsProvider(String pubName)
    : this._internal(
        (ref) => devProjects(ref as DevProjectsRef, pubName),
        from: devProjectsProvider,
        name: r'devProjectsProvider',
        debugGetCreateSourceHash:
            const bool.fromEnvironment('dart.vm.product')
                ? null
                : _$devProjectsHash,
        dependencies: DevProjectsFamily._dependencies,
        allTransitiveDependencies: DevProjectsFamily._allTransitiveDependencies,
        pubName: pubName,
      );

  DevProjectsProvider._internal(
    super._createNotifier, {
    required super.name,
    required super.dependencies,
    required super.allTransitiveDependencies,
    required super.debugGetCreateSourceHash,
    required super.from,
    required this.pubName,
  }) : super.internal();

  final String pubName;

  @override
  Override overrideWith(
    FutureOr<List<DevProject>> Function(DevProjectsRef provider) create,
  ) {
    return ProviderOverride(
      origin: this,
      override: DevProjectsProvider._internal(
        (ref) => create(ref as DevProjectsRef),
        from: from,
        name: null,
        dependencies: null,
        allTransitiveDependencies: null,
        debugGetCreateSourceHash: null,
        pubName: pubName,
      ),
    );
  }

  @override
  AutoDisposeFutureProviderElement<List<DevProject>> createElement() {
    return _DevProjectsProviderElement(this);
  }

  @override
  bool operator ==(Object other) {
    return other is DevProjectsProvider && other.pubName == pubName;
  }

  @override
  int get hashCode {
    var hash = _SystemHash.combine(0, runtimeType.hashCode);
    hash = _SystemHash.combine(hash, pubName.hashCode);

    return _SystemHash.finish(hash);
  }
}

@Deprecated('Will be removed in 3.0. Use Ref instead')
// ignore: unused_element
mixin DevProjectsRef on AutoDisposeFutureProviderRef<List<DevProject>> {
  /// The parameter `pubName` of this provider.
  String get pubName;
}

class _DevProjectsProviderElement
    extends AutoDisposeFutureProviderElement<List<DevProject>>
    with DevProjectsRef {
  _DevProjectsProviderElement(super.provider);

  @override
  String get pubName => (origin as DevProjectsProvider).pubName;
}

// ignore_for_file: type=lint
// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package
