cursorToKeyList function

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

Convert an autoAdvance openKeyCursor stream to a list (must be auto-advance)

Implementation

Future<List<Object>> cursorToKeyList(Stream<Cursor> stream,
        [int? offset, int? limit]) =>
    _autoCursorStreamToList(stream, (cursor) => cursor.key, offset, limit);