update method
Updates the log
in Database
Implementation
Future update(Log log) async {
// For filtering by key (ID), RegEx, greater than, and many other criteria,
// we use a Finder.
final finder = Finder(filter: Filter.byKey(log.id));
await _flogsStore.update(
await _db,
log.toJson(),
finder: finder,
);
}