UseCaseProvider<US extends Entity, U extends UseCase<US>> class

Inheritance

Constructors

UseCaseProvider(U create(), [UseCaseProviderConnector<US, U>? connector])

Properties

hashCode int
The hash code for this object.
no setterinherited
notifier Stream<Refreshable<U>>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildNotifier() → Refreshable<U>
override
call() → StateNotifierProvider<U, US>
getUseCase(WidgetRef ref) → U
inherited
getUseCaseFromContext(BuildContext context) → U
inherited
init() → void
inherited
listen<M extends DomainModel>(WidgetRef ref, void listener(M?, M)) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideWith(U useCase) → Override
override
read(ProviderContainer container) → U
inherited
selector<M extends DomainModel>(U useCase) → ProviderListenable<M>
override
subscribe<M extends DomainModel>(WidgetRef ref) → M
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited