saveEvent static method
Saves an event in the DB. @param event The event to save.
Implementation
static Future<void> saveEvent(MBAutomationEvent event) async {
Database db = await _database();
await db.insert(
'event',
event.toDbDictionary(),
);
}