cursorToPrimaryKeyList function

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

Convert an autoAdvance openKeyCursor stream to a list of key, must be auto-advance)

Implementation

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