update method

void update(
  1. String table,
  2. Map<String, Object?> values, {
  3. String? where,
  4. List<Object?>? whereArgs,
  5. ConflictAlgorithm? conflictAlgorithm,
})

Queues an update.

Implementation

void update(String table, Map<String, Object?> values,
    {String? where,
    List<Object?>? whereArgs,
    ConflictAlgorithm? conflictAlgorithm}) {
  _operations.add((txn) => txn.update(table, values,
      where: where,
      whereArgs: whereArgs,
      conflictAlgorithm: conflictAlgorithm));
}