invalidateInScope method

Future<void> invalidateInScope(
  1. String scope,
  2. String pattern
)

Invalidates entries within a scope matching a pattern.

The pattern is automatically prefixed with $scope:. Requires TaggableStore for pattern matching.

Implementation

Future<void> invalidateInScope(String scope, String pattern) async {
  _checkNotDisposed();
  await invalidatePattern('$scope:$pattern');
}