keyCursorToList function
Convert an autoAdvance openKeyCursor stream to a list
Implementation
Future<List<KeyCursorRow>> keyCursorToList(Stream<Cursor> stream,
[int? offset, int? limit]) =>
_autoCursorStreamToList(stream,
(cursor) => KeyCursorRow(cursor.key, cursor.primaryKey), offset, limit);