toKeyList method

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

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

Implementation

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