insert method
Insert a row into a table, where the keys of values
correspond to
column names
Returns the last inserted record id
Implementation
Future<int> insert(String table, Map<String, dynamic> values,
{String nullColumnHack, ConflictAlgorithm conflictAlgorithm}) {
return _db
.insert(table, values,
nullColumnHack: nullColumnHack,
conflictAlgorithm: conflictAlgorithm)
.then((_) {
notifyTrigger([table].toSet());
});
}