cursorToList function

Future<List<CursorRow>> cursorToList(
  1. Stream<CursorWithValue> stream
)

Convert an autoAdvance openCursor stream to a list

Implementation

Future<List<CursorRow>> cursorToList(Stream<CursorWithValue> stream) =>
    _autoCursorStreamToList(stream,
        (cwv) => CursorRow(cwv.key, cwv.primaryKey, cloneValue(cwv.value)));