deleteRow method

bool deleteRow(
  1. String table,
  2. int rowId
)

Implementation

bool deleteRow(String table, int rowId) {
  final t = table.toNativeUtf8();
  try {
    final rc = _deleteRow(_handle, t, rowId);
    if (rc < 0) {
      throw Exception(lastError());
    }
    return rc == 1;
  } finally {
    malloc.free(t);
  }
}