fromString static method

CacheStrategy fromString(
  1. String value
)

Implementation

static CacheStrategy fromString(String value) {
  return CacheStrategy.values.firstWhere((e) => e.value == value);
}