CRUDRepositoryExternalAsync<Entity extends BasicEntityObject<BasicDomainObject<IntIdentifier>>> class Null safety

Default CRUD repository of type Entity extends BasicEntityObject for External Async operations. Implemented by the framework, the external library of persistence.

Inheritance

Constructors

CRUDRepositoryExternalAsync()

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(Entity newObject) Future<Entity>
Create the domain.
destroy(Entity objectToDestroy) Future<Entity>
Destroy the domain.
dispose() → void
edit(Entity objectToEdit) Future<Entity>
Edit the domain.
findAll() Future<List<Entity>>
Find all domains.
findBy(int keyId) Future<Entity>
Find the correspondent domain by it's Key Id.
init() → 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