checkKeyId static method

  1. @protected
void checkKeyId(
  1. String where,
  2. Object keyid
)

Checks the validity of the keyid argument.

Implementation

@protected
static void checkKeyId(String where, Object keyid) {
  checkState(
    isSqlValue(keyid),
    message: () =>
        "$where: keyid must be a String or a finite num, got `$keyid`",
  );
}