statisticRecords method

Iterable<StatisticRecord> statisticRecords()

Returns the statistic records iterator.

Return Value: An Iterable that returns StatisticRecord.

Implementation

Iterable<StatisticRecord> statisticRecords() {
  final iteratorHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_StatisticsQueryResult_iterator(
        _handle, errorHandler);
  });
  return iteratorHandle.toIterable();
}