getStreamHistory method

Future<StreamHistory> getStreamHistory(
  1. String stream
)

Retrieve the event history for stream.

If stream does not have event history collected, a parameter error is returned.

Implementation

Future<StreamHistory> getStreamHistory(String stream) async {
  if (!(await _versionCheck(1, 2))) {
    throw UnimplementedError('getStreamHistory requires DDS version 1.2');
  }
  return _callHelper<StreamHistory>('getStreamHistory', args: {
    'stream': stream,
  });
}