insert method

Future<int> insert(
  1. Map<String, dynamic> row
)

inserts a row in the database where each key in the Map is a column name and the value is the column value. The return value is the id of the inserted row.

Implementation

Future<int> insert(Map<String, dynamic> row) async {
  final T db = await this.database;
  return db.insert(kTable, row);
}