ReadResourceResultCacheScope.of constructor

ReadResourceResultCacheScope.of(
  1. String value
)

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

Implementation

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