CRUDUseCaseAsync<Domain extends BasicDomainObject<IntIdentifier> > class
Null safety
AbstractUseCase of CRUD Async operations, of type Domain extends BasicDomainObject. Generally not implemented, instead extends the use case from DefaultCRUDUseCase.
See AbstractUseCase for general info.
Example at DefaultCRUDUseCaseAsync
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
count(
) → Future< int> - Count the amount of domains. By default calling the length of findAll().
-
create(
Domain newObject) → Future< Domain> - Create the domain.
-
destroy(
Domain objectToDestroy) → Future< Domain> - Destroy the domain.
-
dispose(
) → Future< void> -
edit(
Domain objectToEdit) → Future< Domain> - Edit the domain.
-
findAll(
) → Future< List< Domain> > - Find all domains.
-
findBy(
int keyId) → Future< Domain> - Find the correspondent domain by it's Key Id.
-
init(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited