ProjectBeneficiaryLocalRepository class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
opLogManager
→ OpLogManager<ProjectBeneficiaryModel>
-
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sql
→ LocalSqlDataStore
-
finalinherited
-
type
→ DataModelType
-
The
type
getter returns the type of the data model.
no setteroverride
Methods
-
bulkCreate(List<ProjectBeneficiaryModel> entities)
→ FutureOr<void>
-
override
-
create(ProjectBeneficiaryModel entity, {bool createOpLog = true, DataOperation dataOperation = DataOperation.create})
→ FutureOr<void>
-
The
create
method creates a new entity.
override
-
createOplogEntry(ProjectBeneficiaryModel entity, DataOperation operation)
→ FutureOr<void>
-
inherited
-
delete(ProjectBeneficiaryModel entity, {bool createOpLog = true})
→ FutureOr<void>
-
The
delete
method deletes an existing entity.
override
-
getItemsToBeSyncedDown(String createdBy)
→ Future<List<OpLogEntry<ProjectBeneficiaryModel>>>
-
inherited
-
getItemsToBeSyncedUp(String createdBy)
→ Future<List<OpLogEntry<ProjectBeneficiaryModel>>>
-
inherited
-
listenToChanges({required ProjectBeneficiarySearchModel query, required void listener(List<ProjectBeneficiaryModel> data)})
→ void
-
-
markSyncedUp({OpLogEntry<ProjectBeneficiaryModel>? entry, String? clientReferenceId, int? id, bool? nonRecoverableError})
→ FutureOr<void>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
search(ProjectBeneficiarySearchModel query, [String? userId])
→ FutureOr<List<ProjectBeneficiaryModel>>
-
The
search
method searches for entities that match the given query.
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(ProjectBeneficiaryModel entity, {bool createOpLog = true})
→ FutureOr<void>
-
The
update
method updates an existing entity.
override