flag method

Future<FeatureFlag> flag(
  1. String name
)

Gets and evaluates a feature flag with the given name.

Implementation

Future<FeatureFlag> flag(String name) async {
  var featureFlag =
      await _module.channel.invokeMethod("featureFlagManager#flag", name);
  return FeatureFlag._fromJson(featureFlag);
}