getTreatmentsWithConfigByFlagSets method

  1. @override
Future<Map<String, SplitResult>> getTreatmentsWithConfigByFlagSets(
  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 SplitResult objects.

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, SplitResult>> getTreatmentsWithConfigByFlagSets(List<String> flagSets, [Map<String, dynamic> attributes = const {}]) {
  return _platform.getTreatmentsWithConfigByFlagSets(
      matchingKey: _matchingKey,
      bucketingKey: _bucketingKey,
      flagSets: flagSets,
      attributes: attributes);
}