toKeyRowList method

Future<List<KeyCursorRow>> toKeyRowList({
  1. int? limit,
  2. int? offset,
})

Convert an openKeyCursor stream to a list

Implementation

Future<List<KeyCursorRow>> toKeyRowList({int? limit, int? offset}) =>
    _cursorStreamToList(
        this, (cursor) => KeyCursorRow(cursor.key, cursor.primaryKey),
        offset: offset, limit: limit);