keyCursorToList function

Future<List<KeyCursorRow>> keyCursorToList(
  1. Stream<Cursor> stream, [
  2. int? offset,
  3. int? limit
])

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);