PlatformPostEntitiesRepository class

Repository to post entities objects.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createAsync(PlatformPostEntities entities) Future<void>
When entities is created also embedded objects are persisted and created.
delete(int id) → dynamic
Sync delete call (should not be used in context with async create).
deleteAsync(int id) Future<void>
Async delete call.
get(int id) PlatformPostEntities?
Sync get call (should not be used in context with async create).
getAll() List<PlatformPostEntities>
Sync getAll call (should not be used in context with async create).
getByIds(List<int> ids) List<PlatformPostEntities?>
Returns list of post entities by ids.
init({PlatformPostEntities? entities, IsarLink<PlatformPostEntities>? entitiesLink, bool withPut = true}) Future<void>
Creates, updates and persists post entities and its embedded objects - has to be used in IsarDB.isar.writeTxt transaction.