// GENERATED CODE - DO NOT MODIFY BY HAND part of 'connection_providers.dart'; // ************************************************************************** // RiverpodGenerator // ************************************************************************** // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint, type=warning @ProviderFor(connectionStorage) const connectionStorageProvider = ConnectionStorageProvider._(); final class ConnectionStorageProvider extends $FunctionalProvider< ConnectionStorage, ConnectionStorage, ConnectionStorage > with $Provider { const ConnectionStorageProvider._() : super( from: null, argument: null, retry: null, name: r'connectionStorageProvider', isAutoDispose: false, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$connectionStorageHash(); @$internal @override $ProviderElement $createElement( $ProviderPointer pointer, ) => $ProviderElement(pointer); @override ConnectionStorage create(Ref ref) { return connectionStorage(ref); } /// {@macro riverpod.override_with_value} Override overrideWithValue(ConnectionStorage value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider(value), ); } } String _$connectionStorageHash() => r'0faf909e3978260785f2f8ce4bc41f101e27ad66'; /// The full list of saved connections. Mutations persist immediately. @ProviderFor(SavedConnections) const savedConnectionsProvider = SavedConnectionsProvider._(); /// The full list of saved connections. Mutations persist immediately. final class SavedConnectionsProvider extends $NotifierProvider> { /// The full list of saved connections. Mutations persist immediately. const SavedConnectionsProvider._() : super( from: null, argument: null, retry: null, name: r'savedConnectionsProvider', isAutoDispose: false, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$savedConnectionsHash(); @$internal @override SavedConnections create() => SavedConnections(); /// {@macro riverpod.override_with_value} Override overrideWithValue(List value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider>(value), ); } } String _$savedConnectionsHash() => r'2595280b9ef1f5835ecce70b791a901a51aaf8e8'; /// The full list of saved connections. Mutations persist immediately. abstract class _$SavedConnections extends $Notifier> { List build(); @$mustCallSuper @override void runBuild() { final created = build(); final ref = this.ref as $Ref, List>; final element = ref.element as $ClassProviderElement< AnyNotifier, List>, List, Object?, Object? >; element.handleValue(ref, created); } } /// The id of the currently active connection, or null if none is selected /// (e.g. first launch with nothing configured yet). @ProviderFor(ActiveConnectionId) const activeConnectionIdProvider = ActiveConnectionIdProvider._(); /// The id of the currently active connection, or null if none is selected /// (e.g. first launch with nothing configured yet). final class ActiveConnectionIdProvider extends $NotifierProvider { /// The id of the currently active connection, or null if none is selected /// (e.g. first launch with nothing configured yet). const ActiveConnectionIdProvider._() : super( from: null, argument: null, retry: null, name: r'activeConnectionIdProvider', isAutoDispose: false, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$activeConnectionIdHash(); @$internal @override ActiveConnectionId create() => ActiveConnectionId(); /// {@macro riverpod.override_with_value} Override overrideWithValue(String? value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider(value), ); } } String _$activeConnectionIdHash() => r'ac8b7d48bc04e6f9245b23c83a15e11a539e1fc8'; /// The id of the currently active connection, or null if none is selected /// (e.g. first launch with nothing configured yet). abstract class _$ActiveConnectionId extends $Notifier { String? build(); @$mustCallSuper @override void runBuild() { final created = build(); final ref = this.ref as $Ref; final element = ref.element as $ClassProviderElement< AnyNotifier, String?, Object?, Object? >; element.handleValue(ref, created); } } /// The currently active [Connection], or null if none is configured. /// Everything in `core/network` derives from this — switching it rebuilds /// the API client and, transitively, every provider that watches it. @ProviderFor(activeConnection) const activeConnectionProvider = ActiveConnectionProvider._(); /// The currently active [Connection], or null if none is configured. /// Everything in `core/network` derives from this — switching it rebuilds /// the API client and, transitively, every provider that watches it. final class ActiveConnectionProvider extends $FunctionalProvider with $Provider { /// The currently active [Connection], or null if none is configured. /// Everything in `core/network` derives from this — switching it rebuilds /// the API client and, transitively, every provider that watches it. const ActiveConnectionProvider._() : super( from: null, argument: null, retry: null, name: r'activeConnectionProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$activeConnectionHash(); @$internal @override $ProviderElement $createElement($ProviderPointer pointer) => $ProviderElement(pointer); @override Connection? create(Ref ref) { return activeConnection(ref); } /// {@macro riverpod.override_with_value} Override overrideWithValue(Connection? value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider(value), ); } } String _$activeConnectionHash() => r'544cf6f795b35636cbfc497e6379a84b1e8f5b88';