set static method

void set(
  1. String key,
  2. bool value
)

Set a feature flag to a specific value.

Implementation

static void set(String key, bool value) {
  if (value) {
    enable(key);
  } else {
    disable(key);
  }
}