getItemsInCollectionSync method
Returns a list of all item IDs in a collection.
Implementation
@override
List<String> getItemsInCollectionSync(String collection) {
final path = _getCollectionPath(collection);
return _workDbInternalSync
.lsSync(path)
.map((f) => f.replaceFirst('$path/', ''))
.where((f) => f.isNotEmpty && !f.contains('/'))
.toList();
}