distinctBySourceMetadata method

QueryBuilder<MediaItem, MediaItem, QDistinct> distinctBySourceMetadata(
  1. {bool caseSensitive = true}
)

Implementation

QueryBuilder<MediaItem, MediaItem, QDistinct> distinctBySourceMetadata(
    {bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addDistinctBy(r'sourceMetadata',
        caseSensitive: caseSensitive);
  });
}