get method

Future<List<DataStreamBatch>> get(
  1. DataStreamId dataStream,
  2. int fromSequenceId, [
  3. int? toSequenceIdInclusive
])

Get all data points in dataStream with sequence numbers between fromSequenceId and toSequenceIdInclusive.

Implementation

Future<List<DataStreamBatch>> get(
  DataStreamId dataStream,
  int fromSequenceId, [
  int? toSequenceIdInclusive,
]) async =>
    await service.getDataStream(
        dataStream, fromSequenceId, toSequenceIdInclusive);