insert method

Future<KeyType> insert(
  1. T value, {
  2. ConflictAlgorithm conflictAlgorithm = ConflictAlgorithm.abort,
})

Implementation

Future<KeyType> insert(T value, {ConflictAlgorithm conflictAlgorithm = ConflictAlgorithm.abort}) async {
  return table.insert(converter.toDb(value), conflictAlgorithm: conflictAlgorithm);
}