addFeatureFlag abstract method

Future<void> addFeatureFlag(
  1. String name, [
  2. String? variant
])

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:

Implementation

Future<void> addFeatureFlag(String name, [String? variant]);