CacheableResultCacheScope.of constructor

CacheableResultCacheScope.of(
  1. String value
)

The value value; one outside the schema is kept as is.

Implementation

factory CacheableResultCacheScope.of(String value) => switch (value) {
      'private' => private,
      'public' => public,
      _ => CacheableResultCacheScope._(value),
    };