getTreatmentsByFlagSets method

  1. @override
Future<Map<String, String>> getTreatmentsByFlagSets(
  1. List<String> flagSets, [
  2. Map<String, dynamic> attributes = const {}
])
override

Convenience method to perform multiple evaluations by flag sets. Returns a Map in which the keys are feature flag names and the values are treatments.

A list of flag sets needs to be specified in flagSets.

Optionally, a Map can be specified with the attributes parameter to take into account when evaluating.

Implementation

@override
Future<Map<String, String>> getTreatmentsByFlagSets(List<String> flagSets, [Map<String, dynamic> attributes = const {}]) {
  return _platform.getTreatmentsByFlagSets(
      matchingKey: _matchingKey,
      bucketingKey: _bucketingKey,
      flagSets: flagSets,
      attributes: attributes);
}