sourceMetadataMatches method

QueryBuilder<MediaItem, MediaItem, QAfterFilterCondition> sourceMetadataMatches(
  1. String pattern,
  2. {bool caseSensitive = true}
)

Implementation

QueryBuilder<MediaItem, MediaItem, QAfterFilterCondition>
    sourceMetadataMatches(String pattern, {bool caseSensitive = true}) {
  return QueryBuilder.apply(this, (query) {
    return query.addFilterCondition(FilterCondition.matches(
      property: r'sourceMetadata',
      wildcard: pattern,
      caseSensitive: caseSensitive,
    ));
  });
}