getItems method

Future<List<DataReaderItem>> getItems()

Implementation

Future<List<DataReaderItem>> getItems() {
  return _mutex.protect(() async {
    _items ??= (await ReaderManager.instance.getItems(_handle))
        .map((handle) => DataReaderItem(handle: handle))
        .toList(growable: false);
    return _items!;
  });
}