DiscoverResultCacheScope.of constructor
DiscoverResultCacheScope.of(
- String value
The value value; one outside the schema is kept as is.
Implementation
factory DiscoverResultCacheScope.of(String value) => switch (value) {
'private' => private,
'public' => public,
_ => DiscoverResultCacheScope._(value),
};