update method

  1. @override
  2. @mustCallSuper
FutureOr<void> update(
  1. AttendanceLogModel entity, {
  2. bool createOpLog = true,
})
inherited

The update method updates an existing entity.

Implementation

@override
@mustCallSuper
FutureOr<void> update(D entity, {bool createOpLog = true}) async {
  if (createOpLog) await createOplogEntry(entity, DataOperation.update);
}