length property

int get length

Gets the length of the entry list.

Returns the number of entries in the list. Throws an AskarEntryListException if counting the entries fails.

Implementation

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