length property

int get length

Gets the number of key entries in the list.

Throws an AskarKeyEntryListException if counting the key entries fails.

Implementation

int get length {
  try {
    return askarKeyEntryListCount(handle).getValueOrException();
  } catch (e) {
    throw AskarKeyEntryListException('Failed to count key entry list: $e');
  }
}