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

Inheritance

Constructors

InMemoryExternalCRUDRepo()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
newID int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

count() int
Count the amount of domains. By default calling the length of findAll().
override
create(Entity newObject) → Entity
Create the domain.
override
destroy(Entity objectToDestroy) → Entity
Destroy the domain.
override
dispose() → void
override
edit(Entity objectToEdit) → Entity
Edit the domain.
override
findAll() List<Entity>
Find all domains.
override
findBy(Object keyId) → Entity
Find the correspondent domain by it's Key Id.
override
init() → void
override
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