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