addFeatureFlag method
Add a single feature flag with an optional variant. If there is an existing feature flag with the same name, it will be overwritten with the new variant.
See also:
addFeatureFlags
- clearFeatureFlag
- clearFeatureFlags
Implementation
void addFeatureFlag(String name, [String? variant]) =>
_featureFlags.addFeatureFlag(name, variant);