saveView static method

Future<void> saveView(
  1. MBAutomationView view
)

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(),
  );
}