create method
FutureOr<void>
create(
- EntityModel entity, {
- bool createOpLog = true,
- DataOperation dataOperation = DataOperation.create,
inherited
The create
method creates a new entity.
Implementation
@override
@mustCallSuper
FutureOr<void> create(
D entity, {
bool createOpLog = true,
DataOperation dataOperation = DataOperation.create,
}) async {
if (createOpLog) await createOplogEntry(entity, dataOperation);
}