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