checkRowId static method

  1. @protected
void checkRowId(
  1. String where,
  2. int rowid
)

Checks the validity of the rowid argument.

Implementation

@protected
static void checkRowId(String where, int rowid) {
  checkState(
    rowid > 0,
    message: () => "$where: rowid must be greater than zero, got $rowid",
  );
}