UseCaseProvider<E extends Entity, U extends UseCase<E> > class
Constructors
- UseCaseProvider(U create(Ref))
Properties
- create → U Function(Ref)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getUseCase(
WidgetRef ref) → U -
getUseCaseFromContext(
ProvidersContext context) → U -
listen<
M extends DomainModel> (WidgetRef ref, void listener(M?, M)) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWith(
U useCase) → Override -
subscribe<
M extends DomainModel> (WidgetRef ref) → M -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited