// GENERATED CODE - DO NOT MODIFY BY HAND part of 'chat_controller.dart'; // ************************************************************************** // RiverpodGenerator // ************************************************************************** // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint, type=warning /// Presentation state for one project conversation. @ProviderFor(ChatController) final chatControllerProvider = ChatControllerFamily._(); /// Presentation state for one project conversation. final class ChatControllerProvider extends $NotifierProvider { /// Presentation state for one project conversation. ChatControllerProvider._({ required ChatControllerFamily super.from, required (String, {String? conversationId, String? draftKey}) super.argument, }) : super( retry: null, name: r'chatControllerProvider', isAutoDispose: true, dependencies: null, $allTransitiveDependencies: null, ); @override String debugGetCreateSourceHash() => _$chatControllerHash(); @override String toString() { return r'chatControllerProvider' '' '$argument'; } @$internal @override ChatController create() => ChatController(); /// {@macro riverpod.override_with_value} Override overrideWithValue(ChatState value) { return $ProviderOverride( origin: this, providerOverride: $SyncValueProvider(value), ); } @override bool operator ==(Object other) { return other is ChatControllerProvider && other.argument == argument; } @override int get hashCode { return argument.hashCode; } } String _$chatControllerHash() => r'b10209ff2924c59cc7c70c57db289a73837aa257'; /// Presentation state for one project conversation. final class ChatControllerFamily extends $Family with $ClassFamilyOverride< ChatController, ChatState, ChatState, ChatState, (String, {String? conversationId, String? draftKey}) > { ChatControllerFamily._() : super( retry: null, name: r'chatControllerProvider', dependencies: null, $allTransitiveDependencies: null, isAutoDispose: true, ); /// Presentation state for one project conversation. ChatControllerProvider call( String projectId, { String? conversationId, String? draftKey, }) => ChatControllerProvider._( argument: (projectId, conversationId: conversationId, draftKey: draftKey), from: this, ); @override String toString() => r'chatControllerProvider'; } /// Presentation state for one project conversation. abstract class _$ChatController extends $Notifier { late final _$args = ref.$arg as (String, {String? conversationId, String? draftKey}); String get projectId => _$args.$1; String? get conversationId => _$args.conversationId; String? get draftKey => _$args.draftKey; ChatState build(String projectId, {String? conversationId, String? draftKey}); @$mustCallSuper @override WhenComplete runBuild() { final ref = this.ref as $Ref; final element = ref.element as $ClassProviderElement< AnyNotifier, ChatState, Object?, Object? >; return element.handleCreate( ref, () => build( _$args.$1, conversationId: _$args.conversationId, draftKey: _$args.draftKey, ), ); } }