insert method

Future<int> insert(
  1. Map<String, dynamic> map,
  2. String table, {
  3. String? dbName,
})

Insert a new record from map into table. Returns the new row id.

Implementation

Future<int> insert(Map<String, dynamic> map, String table,
    {String? dbName}) async {
  return _insertOrUpdate(map, table, dbName: dbName);
}